#7-setup #8
12
backend/boot.sh
Executable file
12
backend/boot.sh
Executable 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
|
||||||
|
|
||||||
|
|
||||||
@@ -6,6 +6,7 @@ Flask-Login==0.6.2
|
|||||||
Flask-Migrate==4.0.4
|
Flask-Migrate==4.0.4
|
||||||
Flask-SQLAlchemy==3.0.3
|
Flask-SQLAlchemy==3.0.3
|
||||||
greenlet==2.0.2
|
greenlet==2.0.2
|
||||||
|
gunicorn==20.1.0
|
||||||
itsdangerous==2.1.2
|
itsdangerous==2.1.2
|
||||||
Jinja2==3.1.2
|
Jinja2==3.1.2
|
||||||
Mako==1.2.4
|
Mako==1.2.4
|
||||||
|
|||||||
Reference in New Issue
Block a user