mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-25 03:40:10 +01:00
31e174977e
- added info about metric `vm_vminsert_metrics_read_total`, - small doc refactoring - and added make-command for running docs in docker. Signed-off-by: Alexander Marshalov <_@marshalov.org>
23 lines
718 B
Makefile
23 lines
718 B
Makefile
docs-install:
|
|
gem install jekyll bundler
|
|
bundle install --gemfile=Gemfile
|
|
|
|
# To run localy you need to use ruby version =< 2.7.6, but not >=3.x , see https://bbs.archlinux.org/viewtopic.php?pid=1976408#p1976408
|
|
#
|
|
# run local server for documentation website
|
|
# at http://127.0.0.1:4000/
|
|
# On first use, please run `make docs-install`
|
|
docs-up:
|
|
JEKYLL_GITHUB_TOKEN=blank PAGES_API_URL=http://0.0.0.0 bundle exec \
|
|
--gemfile=Gemfile \
|
|
jekyll server --livereload
|
|
|
|
docs-up-docker:
|
|
docker run --rm -it \
|
|
-e JEKYLL_GITHUB_TOKEN=blank \
|
|
-e PAGES_API_URL=http://0.0.0.0 \
|
|
-e PAGES_REPO_NWO=VictoriaMetrics/VictoriaMetrics \
|
|
-p 4000:4000 \
|
|
-v $(PWD):/srv/jekyll \
|
|
jekyll/jekyll:3.8 jekyll serve --livereload
|