#7 Made boot script
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user