Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 943 Bytes

DEPLOYING.md

File metadata and controls

27 lines (17 loc) · 943 Bytes

Deploying to production

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.