From ded02d4c71e08b539aefe476798742421938c148 Mon Sep 17 00:00:00 2001 From: Tissevert Date: Wed, 28 Oct 2020 10:49:02 +0100 Subject: [PATCH] Update installation instructions for UnitJS to follow the use of SJW to generate JS --- doc/Deploying-a-hablo-blog.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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