简体   繁体   English

Python Web 应用程序安装程序包?

[英]Python web application installer packages?

Has anyone ever made an installer package for a Flask or Django (or other WSGI framework) application that lays down the code, virtualenv, configures the WSGI server (Gunicorn or uWSGI for example)?有没有人为 Flask 或 Django(或其他 WSGI 框架)应用程序制作过安装程序包,用于放置代码、virtualenv、配置 WSGI 服务器(例如 Gunicorn 或 uWSGI)? I've tried Googling the topic but I only find documentation about installing the frameworks themselves or deploying the applications to cloud services like AWS and Heroku.我试过在谷歌上搜索这个话题,但我只找到了关于安装框架本身或将应用程序部署到 AWS 和 Heroku 等云服务的文档。

I know that all of the above could be scripted, but I'm interested in building actual installer packages for different platforms that get the WSGI app up and running and leaves the other needed components (such as database, cache, proxy, etc.) up to the administrator.我知道上述所有内容都可以编写脚本,但我有兴趣为不同平台构建实际的安装程序包,这些平台使 WSGI 应用程序启动并运行并保留其他需要的组件(例如数据库、缓存、代理等)。直到管理员。

Are there existing examples of this someone could point me to?有人可以指点我吗? Does anyone have suggestions on where to start for learning how to create these packages?有没有人有关于从哪里开始学习如何创建这些包的建议?

为什么不直接将应用程序打包为docker容器?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM