Skip to content

Instantly share code, notes, and snippets.

@Superbil
Last active August 29, 2015 14:00
Show Gist options
  • Save Superbil/11076880 to your computer and use it in GitHub Desktop.
Save Superbil/11076880 to your computer and use it in GitHub Desktop.
How to boot up addressbook at local

you will need

  1. Postgresql.app http://postgresapp.com/
  2. homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
  1. node.js
brew install npm
  1. livescript
npm install -g LiveScript

boot up api.addressbook at local

  1. npm install -g pgrest
  2. git clone https://github.com/g0v/addressbook-data-converter.git & go to this folder
  3. brew install docker boot2docker
  4. open Postqres.app
  5. npm install
  6. make boot
  7. make build (if this failed try run `npm rebuild pg`)
  8. git clone https://github.com/g0v/api.addressbook.git & go to this folder
  9. npm install
  10. lsc app.ls –db mydb –schema pgrest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment