diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 467de704..b9690f80 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -25,7 +25,9 @@ it easy to get up and running: That's it! After the `make dev` command is done, everything will be up and running and you can move on to the next step. -If you want to stop everything at any time, run `make dev-teardown`. +If you want to stop everything at any time, run `make down`. + +Note that `make dev` only runs the minimum amount of dependencies needed for things to work. If you'd like to run all the possible dependencies run `make alldeps` or directly the services available in the `docker-compose.yml` file. # Run the Proxy or the Registry diff --git a/Makefile b/Makefile index e793c134..38f99c16 100644 --- a/Makefile +++ b/Makefile @@ -34,8 +34,9 @@ test-unit: olympus-docker: docker build -t gopackages/olympus -f cmd/olympus/Dockerfile . -.PHONY: dev -dev: + +.PHONY: alldeps +alldeps: docker-compose -p athensdev up -d mysql docker-compose -p athensdev up -d postgres docker-compose -p athensdev up -d mongo @@ -43,7 +44,17 @@ dev: docker-compose -p athensdev up -d minio docker-compose -p athensdev up -d jaeger echo "sleeping for a bit to wait for the DB to come up" - sleep 5 + sleep 5 + +.PHONY: dev +dev: + docker-compose -p athensdev up -d mongo + docker-compose -p athensdev up -d redis + +.PHONY: down +down: + docker-compose -p athensdev down + docker volume prune .PHONY: dev-teardown dev-teardown: