fabistrano:Capistrano风格的织物部署

时间:2021-03-02 17:58:04
【文件属性】:
文件名称:fabistrano:Capistrano风格的织物部署
文件大小:6KB
文件格式:ZIP
更新时间:2021-03-02 17:58:04
Python 法比斯特罗诺 Fabistrano是一组任务,允许您为python Web应用执行样式部署。 什么是capistrano样式部署? Capistrano在版本目录下部署代码,然后将最新的代码符号链接为当前版本。 示例结构如下所示: app.com | | - releases | - 1366924759 | - 1366927898 | - 1367155641 | - shared | - current 为什么要使用这种部署方式? 使用fabistrano,您将获得以下好处: 脚本化和有序部署 部署新代码时的停机时间非常短 轻松回滚 用法 安装fabistrano: pip install fabistrano 在fabfile.py您需要导入fabistrano并设置环境变量: from fabistrano import
【文件预览】:
fabistrano-master
----LICENSE(1KB)
----setup.py(1KB)
----.gitignore(16B)
----CHANGELOG.md(678B)
----fabistrano()
--------deploy.py(4KB)
--------helpers.py(2KB)
--------__init__.py(19B)
----README.md(2KB)

网友评论