Skip to content

Commit f1915e4

Browse files
committed
update some config
1 parent 8a654aa commit f1915e4

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

script/start.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ set -e
44
DEPLOY_PATH="/home/ny/projects/final"
55
VENV_PATH="/home/ny/projects/venv"
66

7-
echo "=== Deploying frontend ==="
8-
cd $DEPLOY_PATH/frontend
9-
npm install
10-
npm run build
7+
# echo "=== Deploying frontend ==="
8+
# cd $DEPLOY_PATH/frontend
9+
# npm install
10+
# npm run build
1111

1212

13-
# echo "=== Deploying backend ==="
14-
# cd $DEPLOY_PATH/backend
15-
# source $VENV_PATH/bin/activate
16-
# # Restart backend using PM2 and uvicorn
17-
# pm2 start uvicorn --name backend -- \
18-
# app.main:app --host 0.0.0.0 --port 8000 || pm2 restart backend
13+
echo "=== Deploying backend ==="
14+
cd $DEPLOY_PATH/backend
15+
source $VENV_PATH/bin/activate
16+
# Restart backend using PM2 and uvicorn
17+
pm2 start uvicorn --name backend -- \
18+
app.main:app --host 0.0.0.0 --port 8000 || pm2 restart backend
1919

20-
# echo "Deployment complete 🚀"
20+
echo "Deployment complete 🚀"

0 commit comments

Comments
 (0)