开发者

Hot deployment using mod_wsgi,python and django on Apache

开发者 https://www.devze.com 2023-03-05 19:17 出处:网络
I have setup an Apache server with mod_wsgi, python_sql, mysql and开发者_JS百科 django. Everything works fine, except the fact that if I make some code changes, they do not reflect immidiately, though

I have setup an Apache server with mod_wsgi, python_sql, mysql and开发者_JS百科 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


Just touching the wsgi file allways worked for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消