- This now works on Ubuntu 16+ again…

pull/100/head
Steve Clement 2018-02-28 00:45:19 +01:00
parent c6da52f7ee
commit 73fc13d389
1 changed files with 9 additions and 3 deletions

View File

@ -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
```