An open API service indexing awesome lists of open source software.

https://github.com/swhors/flask_gunicorn_celery_example

simple example for flask using gunicorn and celery.
https://github.com/swhors/flask_gunicorn_celery_example

celery flask gunicorn python3

Last synced: about 2 months ago
JSON representation

simple example for flask using gunicorn and celery.

Awesome Lists containing this project

README

          

# flask_gunicorn_celery_example

----

# usage

0. pre work
- pip install -r requirement.txt

1. flask and celery
- celery -A tcelery.celery_app worker
- python main.py

2. flask and gunicorn
- gunicorn unicorn:app -b 0.0.0.0:5000 -w [worker node count]

3. Notice
- Befor pip install, you must intall library like below:
sudo apt install libpq-dev