This repository has been archived on 2023-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic.zone/Makefile

19 lines
424 B
Makefile
Raw Normal View History

DEV_DIST_DIR:=dist
2017-10-04 14:43:40 +00:00
2017-10-04 14:35:39 +00:00
devserver:
2017-10-04 14:43:40 +00:00
@echo "Serving development site from $(DEV_DIST_DIR)"
2017-10-04 14:53:19 +00:00
@jekyll serve --watch --incremental --destination $(DEV_DIST_DIR)
.PHONY: devserver
2020-04-06 11:23:24 +00:00
dockerbuild:
@docker build -t autonomic/autonomic.zone:testing .
.PHONY: dockerbuild
dockerserver: dockerbuild
@docker run \
-e JEKYLL_PORT=4000 \
-e JEKYLL_HOST=0.0.0.0 \
-p 4000:4000 \
autonomic/autonomic.zone:testing
.PHONY: dockerserver