Skip to content

Instantly share code, notes, and snippets.

@adamlutz
Created October 12, 2015 14:52
Show Gist options
  • Select an option

  • Save adamlutz/87754551ba05dba5a31e to your computer and use it in GitHub Desktop.

Select an option

Save adamlutz/87754551ba05dba5a31e to your computer and use it in GitHub Desktop.
rails vagrant postgres scotchbox
Clone Scotch Box [email protected]:scotch-io/scotch-box.git
Clone project into public
ssh into server install
sudo apt-get install libpq-dev
go into psql
sudo -u postgres psql
create vagrant user
CREATE USER vagrant WITH SUPERUSER;
bind rails server to scotchbox ip
rails server -b 192.168.33.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment