diff --git a/CloudComputing_Lab/build-local.sh b/CloudComputing_Lab/build-local.sh new file mode 100755 index 0000000..27fc5a5 --- /dev/null +++ b/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'" diff --git a/CloudComputing_Lab/run/build-local.sh b/CloudComputing_Lab/run/build-local.sh new file mode 100755 index 0000000..602c0cd --- /dev/null +++ b/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