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.
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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/26/13, 6:54 AM|
|Seen: 1700 times|
|Last updated: 3/16/15, 8:10 AM|