On Sat, Oct 30, 2010 at 7:30 PM, Anand Chitipothu <[email protected]>wrote:

> 2010/10/31 kevin <[email protected]>:
> > code.py:
> > app = web.application(urls, locals())
> > app_wsgi = app.wsgifunc(session_mw)
> >
> >
> >
> >
> > gunicorn code:app_wsgi
> >
> > if i run gunicorn like this, web.config.debug is True. what is the
> correct
> > way to deploy using gunicorn so web.config.debug is False?
>
> The only way right now is to set web.config.debug = False before
> creating the app.
>

that makes it difficult for development/deployment, changing it everytime.

if i run gunicorn like this:
PHP_FCGI_CHILDREN=3 gunicorn code:app_wsgi

web.py does not start in debug mode. do you know what is going on? is it ok
to do like this?

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to