source venv/bin/activate
- install dependencies :
pip install -r requirements.txt
- Create .env file containing :
export FLASK_APP="run.py"
export FLASK_ENV="yourvalue"
export APP_SETTINGS="yourvalue"
export SECRET="yoursecret"
export SQLALCHEMY_DATABASE_URL="yourdburl"
export SQLALCHEMY_TEST_DATABASE_URL="yourtestdburl"
- source it :
source .env
- run :
python run.py