With Go 1.12 or higher
export POSTGRES_DSN="host=address port=5432 user=your_user password=your_password dbname=your_dbname sslmode=disable"go run github.com/cs3238-tsuzu/coding_challenge_03 --migrateWith Docker and docker-compose
docker-compose.yml and .envdocker-compose up -dPOSTGRES_PASSWORD in .envdocker-compose -f docker-compose.circleci.yml up -ddocker-compose -f docker-compose.circleci.yml exec app bash -c "cd /go/src/coding_challenge_03 && dockerize -wait tcp://db:5432 && go test -v -cover -race -coverprofile=./coverage.out ./..."Content type
Image
Digest
Size
11.1 MB
Last updated
about 7 years ago
docker pull tsuzu/coding_challenge_03