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
- Download using composer
- Configure boot
- 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
其他信息
- 授权协议: Unknown
- 更新时间: 2014-12-18