Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Latest commit

 

History

History
37 lines (20 loc) · 1.08 KB

README.md

File metadata and controls

37 lines (20 loc) · 1.08 KB

Search portal on the history of education in Switzerland

Live on https://www.bildungsgeschichte.ch

Develop

Install yarn, then cd into the directory.

Fetch dependencies:

$ yarn install

Run development server:

$ yarn start

Deploy

To publish directly to GitHub Pages (after git remote add github git@github.com:myUser/myRepo.git):

$ yarn deploy

Otherwise:

$ yarn build

Then copy the /build folder to your web server.

Common errrors when building on Archlinux

Your PATH must contain the node_modules/.bin folder, otherwise react-snap is not found.

Make sure to set this for headless Chrome mode: sysctl -w kernel.unprivileged_userns_clone=1 (otherwise react-snapp fails to start Chrome via puppeteer).