added FLASK_APP env variable
parent
a5f78c28b3
commit
ab621b351d
|
@ -299,6 +299,8 @@ sudo -u postgres psql -c "ALTER USER $DBUSER_MONARC WITH SUPERUSER;"
|
||||||
cd ~
|
cd ~
|
||||||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
|
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
|
||||||
echo 'export PATH="$PATH:$HOME/.poetry/bin"' >> ~/.bashrc
|
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 ~/.bashrc
|
||||||
source $HOME/.poetry/env
|
source $HOME/.poetry/env
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue