开发者

A minimum configuration or turnkey web-server to run Django or any other python based web-framework?

Is there anything similar solution like XAMPP (which is php ready) for python frameworks. More or less like a turnkey solution deploy and run python based web-services on linux and windows desktops.

I am confused what is the purpose of Tornado Web Server. T开发者_C百科he site says it is Web Server, then it also say something about Web Server Framework. As it is written in python, does it perform as well as apache or ngnix?


I'm currently using nginx + CherryPy http://www.cherrypy.org/ quite happily. CherryPy seems about as simple as it can get when hosting a Django powered website.


You will always deploy some kind of web server as a front-end to your Python code.

Apache, nginx or lighttpd.

For most Python frameworks, you'll use mod_wsgi.

For other Python frameworks (like Tornado), you won't use mod_wsgi.

Each Python framework is unique, so there's no single, standard answer.

Since you mention Django specifically in the tags, you'll generally use use Apache and mod_wsgi. You'll read this: https://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/

You won't use Tornado.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜