This page tells how to build and deploy the documentation.
- npm
$ npm install
$ npm run dev
...
Open http://localhost:3100 to see the building guide.
$ npm run build
This creates deployable files in dist/
.
$ npm run build-and-serve # or just 'npm run _serve'
Open http://localhost:3101/Kotka/ to test the build results.
$ npm run deploy
Currently deploying using GitHub Pages, and the gh-pages
branch of this repo. This need not remain so.
Pros:
- one platform, GitHub
Cons:
- VuePress seems to be pushing the same images over and over
- slow pushes
- takes space(?) at the repo
Deployment is done manually, for now.
Once we have our own domain, should look back at this. Firebase hosting may be a good candidate.
Check the output at https://akauppi.github.io/Kotka.
Note: Better URL once we get the association running. 👟