Install Docker
Update /etc/hosts, add setting below.
127.0.0.1 docker-local.milelane.co
Run
docker-compose up -d
Healthcheck
http://docker-local.milelane.co/tasks
# => Right after init, it returns null.
$ export USER_NAME=root
$ export DATABASE=milelane
We use goose to migrate. Show Makefile to migrate.
make test
open cover.html
make fmt
make lint
make vet
You need to set environment variable.
export USER_NAME=root export DATABASE=milelane