To run application:
- Install packages from requirements.txt
- Init DB
- Run flask application
To init db:
- Download and install PostgreSQL
- Create a database named "identities"
- Make migration to DB. For this point you need run commands:
flask db init
flask db migrate
flask db upgrade
To run flask application:
- Set the main point of the application. Windows:
set FLAKS_APP=auth.py
Linux:export FLASK_APP=auth.py
- Launch the flask by the following command:
flask run