neuronws / neuron-sync-heroku
Synchronizes the filesystem of all dynos in a Heroku app.
Installs: 211
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Language:Shell
This package is not auto-updated.
Last update: 2024-12-17 09:24:26 UTC
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=...