python3 -m venv ./venv
source venv/bin/activate
sudo apt install libmariadbclient-dev # not required on Windows
pip install -r requirements.txt
cp app/config.py config.local.py
Edit values in config.local.py
to match Your environment.
flask run
# or
FLASK_ENV=development FLASK_DEBUG=1 flask run
Your application is running on http://127.0.0.1:5000
Use gunicorn
:
gunicorn wsgi -b 127.0.0.1:8080 --daemon