Comments (3)
Hi @abhas
Basically I have RabbitMQ running on the server, and the scripts that I'm using in production right now are those:
Worker: https://github.com/vitorfs/colossus/blob/master/etc/colossus_celery_worker_supervisord.conf
Beat/Scheduler: https://github.com/vitorfs/colossus/blob/master/etc/colossus_celery_beat_supervisord.conf
Those are supervisor configuration files (http://supervisord.org)
This is what I'm using in production, but during development I just run the commands in a terminal (one for each):
celery beat -A colossus
And
celery worker -A colossus
For those to work you need to be running RabbitMQ server:
rabbitmq-server
Usually that's what I do
from colossus.
Hi @vitorfs,
I tried to run celery in the manner you've detailed above. But colossus does not even attempt to talk to celery. And hence, none of the mails pass through. When I checked out the configuration for celery, it all seemed to be there by default. Do I need to do any configuration for colossus to talk to celery? Is there a way I can enable more debug logs?
I'm sorry I am not familiar enough with Celery myself (or even much Python). And hence these questions.
Once I get it working, I will build a docker-compose
file to run all of these via docker. Hope you saw the pull request that contains the Dockerfile
.
Cheers, Abhas.
from colossus.
Hi @vitorfs --- if you can provide some quick suggestions on what to debug, It would really be helpful. I can try to use colossus.
Thanks a lot...
from colossus.
Related Issues (20)
- Add special route to handle conversations
- Documentation HOT 2
- SMTP configuration HOT 4
- Feature request: use of django channels instead of celery? HOT 1
- Feature request: enable the use of django-rest-framework endpoints/routes for subscribers HOT 1
- Deploy on Heroku : The addon "rabbitmq-bigwig" does not exist HOT 4
- 500 Server Error when trying to import contacts through paste on Heroku HOT 5
- CSV importing wrong parsing HOT 3
- Can't import CSV or paste subscribers on local server HOT 3
- Gmail SMTP not working HOT 1
- Mailgun issue
- 'NoneType' object has no attribute 'tags' HOT 2
- Is Colossus under active development? HOT 11
- Internal Server Error on Heroku
- Email Not Sending HOT 1
- Error :: unable to install requirements HOT 2
- SMTP credentials setting not working HOT 4
- Installing it on a server HOT 3
- List Short Url HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colossus.