Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Deploying Rails on Ubuntu 14.04 Gorails tutorial
* setup nameservers with domain provider
* create droplet in digital ocean
* create new deploy user
sudo adduser deploy (adding user deploy, enter password when prompted)
adduser deploy sudo (adding user to sudo group)
su deploy (switch to deploy user)
* logout
* add ssh key to deploy user
ssh-copy-id deploy@domain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.