Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions backend/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@
# Load environment variables from .env
export $(cat ../.env | grep -v '^#' | xargs)

# Override DB_PASSWORD to handle special characters
export DB_PASSWORD='g3L3)E$9'

# Start FastAPI server
cd api
python main.py
./venv/bin/python -m uvicorn api.main:app --host=0.0.0.0 --port=${PORT:-8000}
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"typescript": "^4.9.5"
},
"scripts": {
"start": "react-scripts start",
"start": "react-scripts start --host 0.0.0.0",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="theme-color" content="#FFDC00" />
<meta
name="description"
Expand Down
12 changes: 11 additions & 1 deletion frontend/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ body {
}

.App {
min-height: 100vh;
background-color: #f5f5f5;
}

html,
body,
#root,
.App {
height: 100%;
}

body {
touch-action: none;
}
3 changes: 2 additions & 1 deletion frontend/src/components/ChatInterface.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* YourPeer NYC Chat Interface Styling */

.chat-container {
height: 100%;
display: flex;
flex-direction: column;
height: 100vh;
max-width: 800px;
margin: 0 auto;
background-color: #ffffff;
Expand Down Expand Up @@ -86,6 +86,7 @@
/* Messages Container */
.chat-messages {
flex: 1;
flex-grow: 1;
overflow-y: auto;
padding: 20px;
background-color: #f5f5f5;
Expand Down
Loading