Deployment¶
Authorized keys API¶
Adding ssh authorized keys for server on your local computer
$ cat ~/.ssh/id_rsa.pub | ssh jedisjeux@92.243.10.152 "cat - >> ~/.ssh/authorized_keys"
and enter the correct password for username “jedisjeux” on server
Install dependencies¶
$ gem install bundler
$ bundle install
Deploy the staging environment¶
$ bundle exec "cap staging deploy"
Deploy the production environment¶
$ bundle exec "cap production deploy"