[localuser ~]$ cd projectdir
[localuser projectdir]$ ssh [remoteuser@]host
[remoteuser ~]$ mkdir projectdir.git
[remoteuser ~]$ cd projectdir.git
[remoteuser projectdir.git]$ git init --bare
[remoteuser projectdir]$ exit
#2. Set Up Capistrano
[localuser projectdir]$ gem install capistrano
gem 'capistrano' #add to gem file
[localuser projectdir]$ capify .
[localuser projectdir]$ cap deploy