Skip to content

dyslexic-charactersheets/website-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

website2

New website

How to install

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

How to run

$ make run

How to translate

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.

Troubleshooting

Puppeteer / Chromium errors

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

Releases

No releases published

Packages

No packages published