Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hot deployment using mod_wsgi,python and django on Apache

I have setup an Apache server with mod_wsgi, python_sql, mysql and django. Everything works fine, except the fact that if I make some code changes, they do not reflect immidiately, though I thing that everything is compiled on the fly when it comes to python/mod_wsgi.

I have to shut down the server and come back again to see the changes.

Can someone point me to how hot-deployment can be achieved with the above setup??

Thanks,

Neeraj

like image 567
Neeraj Avatar asked Dec 27 '22 20:12

Neeraj


1 Answers

This is covered by mod_wsgi documentation. See:

http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode

like image 121
Graham Dumpleton Avatar answered Dec 30 '22 10:12

Graham Dumpleton