forked from aic-collections/aicdams-lakeshore
-
Notifications
You must be signed in to change notification settings - Fork 0
Capitstrano
Adam Wead edited this page Jul 30, 2016
·
1 revision
Lakeshore is deployed using Capistrano. Using an installation from your local machine, you can deploy the application to any available server.
By default, Capistrano will deploy the latest commit from the development branch. You can, however, specify and reference commit or branch.
Servers are configured in config/deploy
and each use the rbrun
user. Commands are run using SSH keyed authentication. You will need to ensure you can access each server via SSH using a key named id_rsa
in your $HOME/.ssh/
directory.
bundle exec cap test deploy
bundle exec cap production deploy
bundle exec cap test deploy BRANCH_NAME=master
bundle exec cap test deploy REVISION=1234adsf
Development uses a cloned github instance, so there is a custom command
bundle exec cap dev repo:update
bundle exec cap dev repo:config