- Run
virtualenv ./environment
- On Mac run
source ./environment/bin/activate.fish
. On Ubuntu runsource ./environment/bin/activate
- Run
pip install -r requirements.txt
- Run
python app.py
In order to run the app on multiple threads, run:
gunicorn --workers 12 --threads 4 longer_computations_app:server