简体   繁体   中英

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

This is covered by mod_wsgi documentation. See:

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

只是触摸wsgi文件总是为我工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM