diff --git a/README.md b/README.md index 15190a3..9606bec 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,22 @@ And then you can launch the dev server with yarn dev ``` +## Build static version for Soupboat + +Clumsy mapping is live [here on the soupboat](https://hub.xpub.nl/soupboat/clumsy-mapping/)! + +To build a static version from the vite project this is the command: + +``` +yarn vite build --outDir /var/www/html/clumsy-mapping --base /soupboat/clumsy-mapping --emptyOutDir +``` + +- `--outDir` set the output directory, in this case the public folder clumsy-mapping, that will be served from NGINX +- `--base` set the base url with the `/soupboat/` prefix +- `--emptyOutDir` empty the output directory before building the project + +(note for future self: this config could come handy for [story baobab](https://git.xpub.nl/kamo/sb) + ## Devlog ### 04.06.23