- Golang version 1.15.
- docker and docker-compose (
pip install docker-compose).
- Run
make testto run code checks and all tests with coverage. This will require Go installed on host. - During development it is very useful to run dashboard for tests through
goconvey. Install and run throughmake goconvey. - To run tests in container run:
make test-in-docker.
- Build executable binary by
make buildormake build-in-docker. They both do the same but the first one requires dependencies to installed on local machine. Second command will automatically fetch all dependencies in docker container. - Rebuild the image by
make docker. - Run
make startto spin up 1 server instance.
- You need to first build a static version and a docker image. See first two steps of Starting locally section.
- Make sure you have a working
kubectlinstalled and configured. During deployment you may also requiregpg(gnupg) andjinja2-cli(pip install jinja2-cli[yaml]). - Run
make deploy-stagingto deploy on staging ormake deploy-productionto deploy on production.