How to start dev server: $ export FLASK_APP=flaskr $ export FLASK_ENV=development $ flask init-db $ flask run