开发者

Need a lightweight, standalone web server for Django

开发者 https://www.devze.com 2023-03-21 12:59 出处:网络
I have a Django web application which should be easy to install on Linux systems. The app does not need much performance. It is just a simple web GUI for some services. So a full-blown deployment with

I have a Django web application which should be easy to install on Linux systems. The app does not need much performance. It is just a simple web GUI for some services. So a full-blown deployment with Apache is not needed. I am looking for a lightweight web server that has little or no configuration; just like the Django development server.

It should be possible开发者_JS百科 to run it as daemon, though.

Any suggestions?


You can use Quick and dirty multi-threaded Django dev server.

But, configuring apache or fastcgi to server django applications is not a hard thing, so you should really do that.


I would use Green Unicorn with nginx, very light weight and fast. It does has some configuration unfortunately, so it might not be ideal for you, but worth checking out.

http://gunicorn.org

http://wiki.nginx.org/

Here is a blog post that explains how to set it up with supervisord.

http://kencochrane.net/blog/2011/06/django-gunicorn-nginx-supervisord-fabric-centos55/

0

精彩评论

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

关注公众号