Installation

Download the source code from github repository

Install dependencies

npm install

A MongoDB instance is required. The following command will download and install a docker image containing mongoDB database. Then it will start a mongoDB instance listening at port 27017.

docker run  -p 27017:27017 mongo
  1. Install the PDF generator (optional and only needed for elogbook reporting)

For Debian it is necessary to install wkhtmltopdf as described here. It seems that the version they provided has more features than the one provided by apt-get in the central Debian repositories.

wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.stretch_amd64.deb
  1. Run
npm start

Or run with nodemon. This will update the server automatically:

 nodemon npm start