推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
LINAICAI
V2EX  ›  Python

问一个 python 部署的问题

  •  
  •   LINAICAI · Jan 21, 2015 · 3698 views
    This topic created in 4143 days ago, the information mentioned may be changed or developed.
    搞开php的LAMP,真的不适应python的部署,想问下大家怎么部署python程序的
    10 replies    2015-06-05 14:33:49 +08:00
    ozking
        1
    ozking  
       Jan 21, 2015
    easy_install?
    XiLiGe
        2
    XiLiGe  
       Jan 21, 2015
    supervisor+virtualenv+nginx
    whilgeek
        3
    whilgeek  
       Jan 21, 2015   ❤️ 1
    刚好写过一个小笔记,可以交流下: http://whilgeek.github.io/posts/2014/09/flask_gunicorn_example/
    gamexg
        4
    gamexg  
       Jan 21, 2015   ❤️ 1
    刚部署了一个 Gunicorn Supervisor ,Gunicorn 直接启动服务器,nginx 反代。
    LINAICAI
        5
    LINAICAI  
    OP
       Jan 21, 2015
    @gamexg 请问 vps上已经有一套LAMP,用Gunicorn和nginx 会影响不
    gamexg
        6
    gamexg  
       Jan 21, 2015 via Android
    Gunicorn. 其实就是一个web服务器。
    Apache 反代一样的。
    neoblackcap
        7
    neoblackcap  
       Jan 21, 2015
    supervisor管进程,wsgi server有很多啦,什么容易的gunicorn还有相对高性能的uwsgi。然后就是nginx反向代理,基本这个套路,当然还有什么缓存用redis数据上mysql啊,这些都太普通啦。反正基本上现在都是这样的套路了。基本技术栈而已。
    guoqiao
        8
    guoqiao  
       Jan 22, 2015
    nginx + virtualenv + uwsgi
    Captian
        9
    Captian  
       Jan 22, 2015
    目前 主流的python 项目部署,一般是 Nginx负责前端的反向代理, gunicorn或者 uwsgi作为WSGI容器,gevent提高性能,Supervisor监控服务进程,Fabric完成自动化部署。
    jaleel
        10
    jaleel  
       Jun 5, 2015
    有具体的部署文章吗?自己搞过,没搞通,折腾的python!哎~!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3065 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 14:22 · PVG 22:22 · LAX 07:22 · JFK 10:22
    ♥ Do have faith in what you're doing.