定制 neuronws/neuron-sync-heroku 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

neuronws/neuron-sync-heroku

最新稳定版本:0.0.4

Composer 安装命令:

composer require neuronws/neuron-sync-heroku

包简介

Synchronizes the filesystem of all dynos in a Heroku app.

README 文档

README

Synchronizes the filesystem of all dynos in a Heroku app.

Requisites

  • Cedar-14 stack.
  • Origin repo: Bitbucket or Github.

Installation

  1. Download using composer
  2. Configure boot
  3. Set config vars

Step 1: Download using composer

Add this package by running the command:

$ php composer.phar require neuronws/neuron-sync-heroku "*"

Step 2: Configure boot

Create the file <app_root_path>/.profile.d/nws_sync.sh with the content:

/app/vendor/bin/nws_sync_boot.sh

And set exec permission:

chmod +x nws_sync.sh

Step 3: Set config vars

Add Heroku config variables by running:

$ heroku config:set NWS_SCRIPTS_SSH_PUB=...
$ heroku config:set NWS_SCRIPTS_SSH_PRIV=...
$ heroku config:set NWS_SYNC_ORIGIN_SSH_PUB=...
$ heroku config:set NWS_SYNC_ORIGIN_BOOT_SSH_PUB=...
$ heroku config:set NWS_SYNC_ORIGIN=...
$ heroku config:set NWS_SYNC_ORIGIN_BOOT=...

统计信息

  • 总下载量: 212
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: Shell

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-12-18