set FLASK_APP=run.py set FLASK_ENV=development flask db init flask db migrate flask db upgrade ***************** extra *********** pip freeze > requirements.txt pip install -r requirements.txt