added FLASK_APP env variable

pull/316/head
Cédric Bonhomme 2020-07-07 17:03:11 +02:00
parent a5f78c28b3
commit ab621b351d
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 2 additions and 0 deletions

View File

@ -299,6 +299,8 @@ sudo -u postgres psql -c "ALTER USER $DBUSER_MONARC WITH SUPERUSER;"
cd ~
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
echo 'export PATH="$PATH:$HOME/.poetry/bin"' >> ~/.bashrc
echo 'export FLASK_APP=runserver.py' >> ~/.bashrc
echo 'export STATS_CONFIG=production.py' >> ~/.bashrc
source ~/.bashrc
source $HOME/.poetry/env