Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 693 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 693 Bytes

go-c1

For a challenge

Development

Install GO, and GO!

Basic requirements

  1. Require docker, install here
  2. Require docker-compose, install here

Test

Need to run redis before running any test, perform the following

docker run -p 6379:6379 -d --rm --name redis redis:6-alpine
export REDIS_URL=redis://localhost:6379
go test -v ./...

Remember to cleanup at the end

docker kill redis

Run

Just run the following commands

docker-compose up -d

The you should be able to access http://localhost:3000

And as always to cleanup

docker-compose down