#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

View File

@@ -6,6 +6,7 @@ Flask-Login==0.6.2
Flask-Migrate==4.0.4
Flask-SQLAlchemy==3.0.3
greenlet==2.0.2
gunicorn==20.1.0
itsdangerous==2.1.2
Jinja2==3.1.2
Mako==1.2.4