Browse Source

test template

master
zeus 3 years ago
parent
commit
caa1d9c5a9
  1. 5
      CloudComputing_Lab/build-local.sh
  2. 4
      CloudComputing_Lab/run/build-local.sh

5
CloudComputing_Lab/build-local.sh

@ -0,0 +1,5 @@
docker stop swarmlab-documentation
docker container rm swarmlab-documentation
docker pull hub.swarmlab.io:5480/antora
docker run -ti --name swarmlab-documentation -p 8080:8080 -v $PWD/:/antora -v $PWD/supplemental-ui:/antora/supplemental-ui hub.swarmlab.io:5480/antora /bin/sh -c "DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH=/usr/local/lib/node_modules:\$NODE_PATH exec sh -c '/antora/run/build-local.sh'"

4
CloudComputing_Lab/run/build-local.sh

@ -0,0 +1,4 @@
#antora --fetch /antora/site.yml
antora /antora/site.yml
ifconfig
http-server build/site -c-1
Loading…
Cancel
Save