mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-12 17:34:16 -04:00
Copy the db upgrade command into WSGI script.
In there currently as wsgi has the credstash which we don't won't to apply in non-awe environments. This will need a refactor to better handle code duplication.
This commit is contained in:
@@ -4,4 +4,4 @@ echo "Install dependencies"
|
||||
cd /home/ubuntu/notifications-admin;
|
||||
export FLASK_CONFIG=/home/ubuntu/config.cfg
|
||||
pip3 install -r /home/ubuntu/notifications-admin/requirements.txt
|
||||
python3 app.py db upgrade
|
||||
python3 wsgi.py db upgrade
|
||||
|
||||
Reference in New Issue
Block a user