flask_gunicorn_celery_example
usage
- pre work
- pip install -r requirement.txt
- flask and celery
- celery -A tcelery.celery_app worker
- python main.py
- flask and gunicorn
- gunicorn unicorn:app -b 0.0.0.0:5000 -w [worker node count]
- Notice
- Befor pip install, you must intall library like below: sudo apt install libpq-dev