-
Start a virtual environment using venv.
-
Then,install the requirements:
pip3 install -r requirements.txt
- Run the development server or (go to production instruction below):
flask run --host=localhost
Open [http://localhost:5000](http://localhost:5000) with your browser to see the result.
For production use gunicorn (or any other wsgi compatible server):
gunicorn -k gevent --bind 0.0.0.0:5000 --keep-alive 1 app:app
you can change the number of workers either in the command line args like:
gunicorn -k gevent --bind 0.0.0.0:5000 --keep-alive 1 --workers 10 app:app
OR
in the gunicorn.conf.py file in the root directory.