python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py run
You can visit http://127.0.0.1:5000/docs to check if things are okay or not.
step1: Activate your venv
step2: export FLASK_APP=src/__init__.py
step3:
flask db stamp head # To set the revision in the database to the head.
flask db migrate -m "<migration message (optional)>" # To detect automatically all the changes.
flask db upgrade # To apply all the changes.