What would a sample configuration for running OpenERP with Circus look like ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
Hi,
here is an example of circus.ini you can use to run OpenERP.
[circus]
statsd = 1
httpd = 1
[watcher:webapp]
working_dir = server
cmd = ../bin/chaussette --fd $(circus.sockets.web) --backend gevent openerp-wsgi:application
numprocesses = 3
use_sockets = True
[socket:web]
host = 127.0.0.1
port = 9999
As you can see i'm using Chaussette to expose OpenERP to Circusd.
The working_dir
param in the watcher section refers the the openerp server folder.
openerp-wsgi:application
is the wsgi app definition you can find in the openerp-wsgi.py script bundled with openerp and designed to work with Gunicorn.
But as you'll see, it works fine with Chaussette too :)
There are a lot of params and configurations you can play around with, so you'll have to look at circus and chaussette docs.
Let me know you need further infos
Thank you very much Davide!
Thanks. It works. How do you start the cron worker?
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
sep. 18
|
30218 | ||
|
2
mrt. 15
|
7506 | ||
How to run tests
Opgelost
|
|
4
apr. 23
|
45999 | |
|
1
apr. 23
|
58763 | ||
|
2
jul. 17
|
18597 |