Okay thank you for that.

So in my deployment script, I would need to get the pid of the python
instance and then kill it and Cherokee will bring up a new one when the site
is requested once again?
Or can I somehow communicate directly with the python instance and make it
reload/restart?

-Morten

p.s. Jędrzej Nowak sorry for direct mail.

2011/7/8 Jędrzej Nowak <[email protected]>

> Hi,
>
> You need to restart Django process if you want to reload settings.py
> ;-) Cherokee just communication with Django process. When the process
> is started once it will keep settings / python files etc. from the
> start ;)
>
> Pozdrawiam
> Jędrzej Nowak
>
>
>
> On Fri, Jul 8, 2011 at 1:48 PM, Morten <[email protected]> wrote:
> > Hello,
> > First of all, thank you for making this awesome web server.
> > Now thats out of the way, I have a problem, I have created a Django
> vServer
> > using the wizard and it worked out of the box but if i go change
> something
> > in e.g. settings.py. The changes are not reflected on the site. This
> could
> > be turning Debug on/off.
> > Even if I restart cherokee, the site does not reflect the changes made. I
> > can even move the files to another location in the file system and the
> site
> > still works.
> > This feature or what you would call it, makes it kinda hard to debug a
> > problem with the production version of the settings file (URL to static
> and
> > media).
> > Hope you guys can help me.
> > -Morten
> > _______________________________________________
> > Cherokee mailing list
> > [email protected]
> > http://lists.octality.com/listinfo/cherokee
> >
> >
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to