https://flask.palletsprojects.com/en/2.0.x/tutorial/ Setup to make the project run: Initialize DB export FLASK_APP=flaskr export FLASK_ENV=development flask init-db There will now be a flaskr.sqlite file in the instance folder in your project.