Skip to content
Saskia Wagenaar edited this page Mar 8, 2018 · 4 revisions

Installing gitbook locally

Gitbook can be installed via npm using the following commando: npm install gitbook-cli -g

Testing the gitbook locally

Run gitbook serve in adaguc-server/doc

Building and deploying gitbook

  1. Run gitbook build in adaguc-server/doc
  2. Copy the contents of adaguc-server/doc/_book to the gh-pages branch of this repository
  3. Push the branch to the KNMI/adaguc-server repository.

The gitbook is now being served at https://KNMI.github.io/adaguc-server.

Clone this wiki locally