conda activate <conda env name>
- create the python virtual env:
python3 -m venv env
(Mac/Linux) /python -m venv env
(Windows)- to activate env (windows git bash):
. env/Scripts/activate
- to activate env (mac/linux):
. env/bin/activate
- to activate env (windows git bash):
- To intstall the dependencies:
pip install -r requirements.txt
flask db init
[Run this first time you create your application]
[Below run it everytime you update your models]flask db migrate
[eg:flask db migrate -m "Initial migration."
]flask db upgrade
export EMAIL_USER='<replace with your email>'
export EMAIL_PASS='<replace with your password>'