Skip to content
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.

Deploying to Test or Production

bundle exec cap test deploy
bundle exec cap production deploy

Using a difference branch or commit

bundle exec cap test deploy BRANCH_NAME=master
bundle exec cap test deploy REVISION=1234adsf

Deploying to development

Development uses a cloned github instance, so there is a custom command

bundle exec cap dev repo:update
bundle exec cap dev repo:config