Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 537 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 537 Bytes

uhura-api

Install

With golang installed and configured, run:

$ mkdir -p $GOPATH/src/github.com/uhuraapp
$ cd $GOPATH/src/github.com/uhuraapp
$ go get
$ go get github.com/pilu/fresh
$ // setup database
$ createdb uhura -h 127.0.0.1 -U postgres -p 5432

Up Server

$ export DATABASE_URL=postgres://[email protected]:5432/uhura?sslmode=disable
$ export REDIS_URL=redis://127.0.0.1:6379
$ export PORT=3000
$ fresh  // API is on http://localhost:3000/api