2020-01-14 09:26:00 -06:00
|
|
|
.PHONY: docs docs-test
|
2019-12-18 06:26:47 -06:00
|
|
|
|
|
|
|
docs:
|
|
|
|
docker pull grafana/docs-base:latest
|
2020-01-14 09:26:00 -06:00
|
|
|
docker run -v $(PWD)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it grafana/docs-base:latest /bin/bash -c 'npm i && make webpack && hugo server -p 3002 -D --ignoreCache --baseUrl http://localhost:3002 --bind 0.0.0.0'
|
|
|
|
|
2020-01-21 04:54:24 -06:00
|
|
|
docs-no-pull:
|
|
|
|
docker run -v $(PWD)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it grafana/docs-base:latest /bin/bash -c 'npm i && make webpack && hugo server -p 3002 -D --ignoreCache --baseUrl http://localhost:3002 --bind 0.0.0.0'
|
|
|
|
|
2020-01-14 09:26:00 -06:00
|
|
|
docs-test:
|
|
|
|
docker pull grafana/docs-base:latest
|
2020-01-21 04:54:24 -06:00
|
|
|
docker run -v $(PWD)/sources:/hugo/content/docs/grafana/latest --rm -it grafana/docs-base:latest /bin/bash -c 'npm i && make prod'
|