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.
- Host: GitHub
- URL: https://github.com/swhors/flask_gunicorn_celery_example
- Owner: swhors
- Created: 2021-07-15T13:16:49.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-20T15:16:16.000Z (almost 5 years ago)
- Last Synced: 2025-06-01T00:51:59.845Z (about 1 year ago)
- Topics: celery, flask, gunicorn, python3
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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