- create virtual env
$ virtualenv env -p python3 --no-site-packages
- activate virtual env
$ source env/bin/activate
- install dependencies
$ pip install -r requirements.txt
$ pip freeze > requirements.txt
- create database
$ psql postgres
$ postgres=# CREATE DATABASE flask_auth;
- run migration
$ python main.py create_db
- run
$ python main.py runserver