From 73fc13d389adc254b958c25e2afdb0ca0634b2d8 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Wed, 28 Feb 2018 00:45:19 +0100 Subject: [PATCH] =?UTF-8?q?-=20This=20now=20works=20on=20Ubuntu=2016+=20ag?= =?UTF-8?q?ain=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- USAGE.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/USAGE.md b/USAGE.md index 50b9878..a7c7d09 100644 --- a/USAGE.md +++ b/USAGE.md @@ -3,11 +3,17 @@ Install notes ============= :warning: -Make sure to be in the *misp-book* repository directory for the npm magic. +Make sure to be in the *misp-book* repository directory for the *npm magic*. +Also: The *npm* plugin *autocover* is broken. It pulls an incompatible *canvas* module version. Thus patched repository used (forked from original) + +Tested on: Ubuntu 16.04.4 LTS ``` -sudo apt install npm pkg-config libcairo2-dev -npm install gitbook gitbook-plugin-autocover gitbook-plugin-github gitbook-plugin-toc gitbook-plugin-anchors +curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - +sudo apt-get install -y nodejs +sudo apt-get install -y build-essential +sudo apt install -y npm pkg-config libcairo2-dev +npm install gitbook git+https://github.com/SteveClement/plugin-autocover.git gitbook-plugin-github gitbook-plugin-toc gitbook-plugin-anchors sudo npm install gitbook-cli -g gitbook install ```