#7 Made boot script

This commit is contained in:
2023-03-17 00:58:55 -04:00
parent 73bdc75095
commit 5d4e025696
2 changed files with 13 additions and 0 deletions

12
backend/boot.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
source ./venv/bin/activate
pip install -r ./requirements.txt
flask db update
exec gunicorn -b :5000 --access-logfile - --error-logfile - main:app