Skip to content

Commit

Permalink
gunicorn test
Browse files Browse the repository at this point in the history
  • Loading branch information
leekool committed Feb 16, 2024
1 parent fa3b37d commit 3f8b9e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/back/app.log
/back/__pycache__/
/back/venv/
/back/layout.svg

/front/.svelte-kit/
Expand Down
3 changes: 2 additions & 1 deletion back/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ else
echo "No existing process found."
fi

nohup python3 app.py > /dev/null 2>&1 &
# nohup python3 app.py > /dev/null 2>&1 &
gunicorn -w 4 -b 0:0:0:0:5000 app:app

0 comments on commit 3f8b9e1

Please sign in to comment.