diff --git a/doc/Deploying-a-hablo-blog.md b/doc/Deploying-a-hablo-blog.md index c21f89a..2280f97 100644 --- a/doc/Deploying-a-hablo-blog.md +++ b/doc/Deploying-a-hablo-blog.md @@ -31,21 +31,14 @@ Now let's install the dependencies. ## UnitJS -Hablo requires [UnitJS](https://git.marvid.fr/Tissevert/UnitJS). Go to some temporary work directory, clone it and generate the packed JS module. +Hablo requires [UnitJS](https://git.marvid.fr/Tissevert/UnitJS) which is handled by [SJW](https://git.marvid.fr/Tissevert/SJW). Make sure you have installed it regularly with `SJW`. If it isn't yet, the following commands should help you: ```bash cd /tmp git clone https://git.marvid.fr/Tissevert/UnitJS.git cd UnitJS -make -``` - -It's in `dist/unit.js`. Let's go back to your blog's directory and copy it. - -```bash -cd "/path/to/My perfect life is better than yours" -mkdir -p js -cp /tmp/UnitJS/dist/unit.js js +mkdir -p ~/.sjw +cp -r src/ ~/.sjw/unitJS ``` ## Remarkable