|
|
@@ -1,25 +1,37 @@
|
|
|
|
|
|
+# Intro
|
|
|
|
|
|
-run.sh - build docker image kinisi/vuepress and push to docker,io
|
|
|
+This build the image kinisi/vuepress that provides the following features :
|
|
|
|
|
|
-Samle docker-compose - slower at first run to initialise
|
|
|
+- search facility
|
|
|
+- use of tabs as in demo/page2
|
|
|
+- use of Viz for graph as in demo/page2
|
|
|
+
|
|
|
+## Usage
|
|
|
+
|
|
|
+mkdir markdowns - folder to store all the markdowns
|
|
|
+
|
|
|
+``` yaml
|
|
|
+version: '3.1'
|
|
|
|
|
|
-```
|
|
|
-version: '3.3'
|
|
|
services:
|
|
|
|
|
|
- vuepress :
|
|
|
-
|
|
|
- image: kinisi/vuepress
|
|
|
- container_name : vuepress
|
|
|
- restart : always
|
|
|
- # volumes:
|
|
|
- # - ./docs:/vp/docs
|
|
|
- ports :
|
|
|
- - 8088:8080
|
|
|
- command : [ 'npm' , 'run' , 'docs:dev' ]
|
|
|
- working_dir: /vp
|
|
|
+ tpress :
|
|
|
+
|
|
|
+ image : kinisi/vuepress
|
|
|
+ ports : [ 8080:8080 ]
|
|
|
+ volumes :
|
|
|
+ - ./markdowns:/vp/docs
|
|
|
+ command : [ npm , run , docs:dev ]
|
|
|
```
|
|
|
|
|
|
-- extract the docs folder and replace with with my own
|
|
|
-- access at host:8088
|
|
|
+If the markdowns folder is empty, the image will insert the following into the markdowns folder :
|
|
|
+
|
|
|
+- README.md
|
|
|
+- demo folder
|
|
|
+
|
|
|
+
|
|
|
+## Building
|
|
|
+
|
|
|
+run.sh - build docker image kinisi/vuepress and push to docker,io
|
|
|
+
|