diff --git a/Makefile b/Makefile index 94a2486..630b744 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,22 @@ help: run: static/js/lunr/PagesIndex.json ## Start development environment @docker-compose up -d hugo +.PHONY: stop +stop: ## Stop development environment + @docker-compose stop + +.PHONY: down +down: ## Take down development environment + @docker-compose down + .PHONY: logs logs: ## Tail development logs @docker-compose logs -f --since=1m +.PHONY: shell +shell: ## Open a shell in the hugo container (it needs to be running) You are root in the container, so new files need to be chown'ed properly + @docker-compose exec -it hugo sh + .PHONY: update-search-index update-search-index: static/js/lunr/PagesIndex.json ## Update the search index if needed