Deployment

Authorized keys API

Adding ssh authorized keys for server on your local computer

$ cat ~/.ssh/id_rsa.pub | ssh mobizel@XXX.XXX.XX.XX "cat - >> ~/.ssh/authorized_keys"

and enter the correct password for username “mobizel” on server

Deploy the staging environment

$ bundle exec "cap staging deploy"

Deploy the production environment

$ bundle exec "cap production deploy"