Skip to content

Instantly share code, notes, and snippets.

@sathishmanohar
Created October 16, 2015 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sathishmanohar/87be77758fdc76c13950 to your computer and use it in GitHub Desktop.
Save sathishmanohar/87be77758fdc76c13950 to your computer and use it in GitHub Desktop.
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