2020-12-31 18:45:31 +00:00
|
|
|
.PHONY: format help
|
|
|
|
|
|
|
|
# Help system from https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
|
|
|
|
.DEFAULT_GOAL := help
|
|
|
|
|
|
|
|
help:
|
|
|
|
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
|
|
|
|
|
|
|
|
up: ## Build and run the required containers by fetching binaries
|
2021-06-30 18:33:03 +00:00
|
|
|
docker-compose up -d
|
2020-12-31 18:45:31 +00:00
|
|
|
|
|
|
|
build: ## Build the required containers by fetching binaries
|
2021-06-30 18:33:03 +00:00
|
|
|
docker-compose build
|
2020-12-31 18:45:31 +00:00
|
|
|
|
|
|
|
down: ## Stop the containers
|
2021-06-30 18:33:03 +00:00
|
|
|
docker-compose down
|
2020-12-31 18:45:31 +00:00
|
|
|
|
|
|
|
logs: ## Get logs from the containers
|
2021-06-30 18:33:03 +00:00
|
|
|
docker-compose logs -f wownerod
|