Brevity
Another useless service for shortening links
Install
Kubernetes cluster
Locally
Clone the repository:
$ git clone https://github.com/mgrachev/brevity
$ cd brevity
Install dependencies:
$ go get github.com/rnubel/pgmgr
$ go get -u github.com/kardianos/govendor
$ govendor sync
Create a database and run migrations:
$ pgmgr db create
$ pgmgr db migrate
Run the HTTP-server:
$ PG_CONNECTION_URL=postgres://... go run cmd/brevity-http-server/brevity-http-server.go