We're using Dokku to deploy the website to a DigitalOcean server.
To add your public key to the server, send it to the sshcommand
command on the server. Assuming your public key is in ~/.ssh/id_rsa.pub
(contact the admin if not):
cat ~/.ssh/id_rsa.pub | ssh [email protected] "sshcommand acl-add dokku <name>"
(Where <name>
is any label you want for the key, probably your name)
Once your public ssh key has been added to Dokku, add the remote:
git remote add production [email protected]:ittybitty
Then, you can deploy to the production server:
git push production master
On the server, PostgreSQL is used as the database. See dokku-pg-plugin.
The site is live at learnittybitty.com or 104.236.254.212.