## Environment Setup Install RVM curl -L https://get.rvm.io | bash -s stable --ruby Install ruby-2.0.0-p247 rvm install ruby-2.0.0-p247 Create gemset (should happen automatically) rvm gemset create parley Install required gems bundle install Install/Start Postgres brew install postgres initdb /usr/local/var/postgres Configure Postgres (uncomment and change unix_socket_directory = '/var/pgsql_socket') subl /usr/local/var/postgres/postgresql.conf pg-start Setup database (set password to postgres) cp config/example.database.yml config/database.yml createuser parley_app --superuser --pwprompt -- rake db:create:all rake db:migrate Start server rails s Start background job foreman start Setup server ssh key cat ~/.ssh/id_rsa.pub | ssh demo@198.199.101.128 'cat >> ~/.ssh/authorized_keys'