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.

Installs: 212

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:Shell

pkg:composer/neuronws/neuron-sync-heroku

0.0.4 2015-01-10 02:24 UTC

This package is not auto-updated.

Last update: 2025-10-07 13:31:33 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=...