开发者

Django: Restarting Shared Server When Changing MVC Python Files

Essentially, I am doing some of the development for my Django app straight on my shared server rather than on a local machine (I know that initially is the problem) however regardless, I would like to know if there is a way to restart the apache server on my shared hosted server (Bluehost) for when I modify any of the python files.

I'开发者_如何学Cm not sure how the Django framework is setup, maybe restarting the webserver is not needed?

THanks!


How is the apache configured to run python codes? are you using fcgi, wsgi or something else?

What i do is, i use a fcgi process and restart fcgi process without the need to restart the webserver. In my case web server is nginx but it should be same in apache if you are using fcgi.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜