neuronws/neuron-sync-heroku

There is no license information available for the latest version (0.0.4) of this package.

Synchronizes the filesystem of all dynos in a Heroku app.

0.0.4 2015-01-10 02:24 UTC

This package is not auto-updated.

Last update: 2024-11-05 08:40:44 UTC


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=...