Clone repo like this:
git clone https://github.com/dimkoug/celeryproject.git
Create a virtualenv:
python3 -m venv virtualenv
Activate virtualenv
Install packages from requirements.txt file
inside /etc/hosts create an entry 127.0.0.1 celeryproject
inside deploy folder there are the conf sample files , create the conf files and change paths according to your configuration
in linux install supervisor and nginx:
apt-get install supervisor nginx
Create symlinks of conf files:
sudo ln -sf /path/to/celeryproject/deploy/conf/nginx.conf /etc/nginx/sites-enabled/celeryproject.conf sudo ln -sf /path/to/celeryproject/deploy/conf/gunicorn.conf /etc/supervisor/conf.d/celeryproject.conf sudo ln -sf /path/to/celeryproject/deploy/conf/celery_beat.conf /etc/supervisor/conf.d/celeryproject_celery_beat.conf sudo ln -sf /path/to/celeryproject/deploy/conf/celery_worker.conf /etc/supervisor/conf.d/celeryproject_celery_worker.conf sudo ln -sf /path/to/celeryproject/deploy/conf/daphne.conf /etc/supervisor/conf.d/celeryproject_daphne.conf sudo supervisorctl reread sudo supervisorctl update sudo supervisorctl start celeryproject
For celery async task : http://celeryproject/
For chat application : http://celeryproject/chat/
-
Notifications
You must be signed in to change notification settings - Fork 6
dimkoug/celeryproject
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
django celery project
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published