Source

django-socketio-on-dotcloud / gunicorn.conf

Full commit
import json
with open('/home/dotcloud/environment.json') as f:
    env = json.load(f)


workers = 2
worker_class = 'geventwebsocket.gunicorn.workers.GeventWebSocketWorker'
bind = "127.0.0.1:{0}".format(env['PORT_WWW'])
pidfile = '/tmp/gunicorn.pid'
debug = True
loglevel = 'debug'
errorlog = '/tmp/gunicorn.log'
#daemon = True
django_settings='/Users/jcosta/projects/django-on-dotcloud/hellodjango/settings/dotcloud.py'