garethstokes / fourtyeight

a 48 hour social network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fourtyeight ( aka, the drop )

  • setting up a dev environment

go install vagrant ( www.vagrantup.com ) then

  # this might take a while, 30 mins or so
  vagrant up

  # remote into the machine
  vagrant ssh

  # cd into the src directory
  # i've made a alias 'sw' which stands for 'start work' to do this
  cd /golang/src/github.com/garethstokes/fourtyeight

  # we need to create databases and seed them
  ./prepare_application.sh

  # run the web app
  ./run_website.sh

open a new terminal and type in... curl localhost:8080/

"let thy object decend as if it were calescent"

vagrant will forward port 80 on the virtual machine to your local host environment.

nginx is installed on the vm, it will forward the port 8080 and host it on port 80

About

a 48 hour social network


Languages

Language:JavaScript 89.5%Language:Go 8.9%Language:CSS 1.1%Language:Shell 0.4%Language:Ruby 0.0%