Almond
Installation
Requirements
- Golang v1.8
- Docker v17.03
Postgresql
- Let docker do the magic:
$ docker-compose up
🐳
- Ready to rock on port
5433
Note: This is not following default port for postgres, however the migrations script is aware of this. Worry not.
Golang
golang packages required for development:
- govendor:
$ go get -u github.com/kardianos/govendor
- goose:
$ go get bitbucket.org/liamstask/goose/cmd/goose
Install vendors:
$ govendor sync
Run migrations (requires postgres service, check docker composer):
$ goose up
Compiling
$ go run main.go
Open your browser and navigate to http://localhost:3000
Testing
$ govendor test +l,^p [-cover]
Ready to hack!