preset.sh 192 Bytes
Newer Older
Vladislav Rykov's avatar
Vladislav Rykov committed
1
2
3
4
5
6
7
8
pip3 install virtualenv
python3 -m virtualenv env
source env/bin/activate

sudo apt-get install libpq-dev

pip install -r requirements.txt

Vladislav Rykov's avatar
Vladislav Rykov committed
9
export FLASK_APP=run.py
Vladislav Rykov's avatar
Vladislav Rykov committed
10
export FLASK_ENV=production