1. set FLASK_APP=run.py
  2. set FLASK_ENV=development
  3. flask db init
  4. flask db migrate
  5. flask db upgrade

***************** extra ***********

pip freeze > requirements.txt

pip install -r requirements.txt