Danger

This is an outdated documentation please read the new Monofony documentation instead.

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"