New website
This runs best on a Linux, Unix or Mac OS. It can also run on Windows using LXSS (aka "Bash for Windows").
First install Node.js and NPM
$ apt install nodejs
Then use NPM to install the listed packages.
$ npm install
Create a config file in data/config.yml
(it can be a copy of the config-example.yml
at first).
$ cp data/config-example.yml data/config.yml
$ make run
Generate a pot
template file
$ make pot
The translatable lines will be saved to data/i18n/msg.pot
.
Feed that file through a translation system to produce specific translation files for each language, eg data/i18n/fr.po
. The Node website will pick up files from there.
Puppeteer is a Node.js package that relies on an external copy of Chromium. As such it may not work without extra steps to install Chromium and other libraries.
The easy option is to turn Puppeteer off in your config.
chrome_pdf: false