Skip to content

Commit

Permalink
for teh build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mvoii committed Jan 25, 2025
1 parent 618ae96 commit 9e5fedb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
"preview": "vite preview --host 0.0.0.0 --port 5173"
},
"dependencies": {
"@radix-ui/react-alert-dialog": "^1.1.5",
Expand Down
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
# start backend server
cd backend || exit
python -m flask run &
python app.py &
P1=$!

# start front end server
cd ../frontend || exit
npm run dev &
npm run preview &
P2=$!

# wait for both processses
Expand Down

0 comments on commit 9e5fedb

Please sign in to comment.