acidgreen/magento2-capistrano
Composer 安装命令:
composer require acidgreen/magento2-capistrano
包简介
Capistrano deployer for Magento 2
README 文档
README
Prerequisites
You must have the following installed on your local:
- Composer
- Ruby - atleast version 2.0.
- Capistrano version 2.15.5
- gems (railsless-deploy and steps)
Please refer to the following link on how to setup the above software on your machine: Please see [wiki] for more information about the installation.
Installation
Step 1:
Run the following command on the root of your project
composer require --dev acidgreen/magento2-capistrano
Capistrano will be installed to dev/tools/capistrano and the main file Capfile will be added to the root of the project. Make sure you add Capfile to your projects .gitignore file to exclude it from your repository.
Step 2:
Configure Capistrano deployer for your project. You can find the capistrano source in dev/tools/capistrano directory of your Magento 2 project. Configure the following:
- dev/tools/capistrano/config/deploy.rb - This contains general settings for your capistrano including the project's git/bitbucket repository. There is a sample deploy.rb.sample that you can copy and use as template.
- stage configurations under dev/tools/capistrano/config/deploy/, you can copy dev.rb.sample as template for your deployment to your target environment ie dev.rb, staging.rb, production.rb.
Step 3:
Once you have configured and tested your capistrano deployer for your project, you can start adding the configuration resources you have created to the project's repository, you can run the command below to add these resources:
#!sh
$ git add dev/tools/capistrano/config
note that there is a .gitignore file under dev/tools/capistrano so only the configuration resources you created should be added. Also as per mentioned in step 3, don't forget to add your updated .gitignore file to your project repository.
Usage
See wiki
acidgreen/magento2-capistrano 适用场景与选型建议
acidgreen/magento2-capistrano 是一款 基于 Ruby 开发的 Composer 扩展包,目前已累计 61 次下载、GitHub Stars 达 1, 最近一次更新时间为 2018 年 08 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 acidgreen/magento2-capistrano 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 acidgreen/magento2-capistrano 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-08-14