To install the requirments:
pip3 install -r requirements.txt
To run the project:
python3 main.py
OR to run using flask run, On Windows:
SET FLASK_APP=main.py
##for development purpose add SET FLASK_DEBUG=TRUE
flask run
On Linux:
EXPORT FLASK_APP=main.py
##for development purpose add EXPORT FLASK_DEBUG=TRUE
flask run
Go to http://127.0.0.1:5000
After making changes in the db
##only first flask db init
flask db migrate -m "Changed"
flask db upgrade
flask db downgrade
SQLAlchemy add to db
##only first flask db init
a = User(email='a@mail.com',password='123')
db.session.add(a)
db.session.commit()