Live on https://www.bildungsgeschichte.ch
Install yarn
, then cd
into the directory.
Fetch dependencies:
$ yarn install
Run development server:
$ yarn start
- This project was bootstrapped with Create React App.
- SASS according to create-react-app#adding-a-css-preprocessor
To publish directly to GitHub Pages (after git remote add github [email protected]:myUser/myRepo.git
):
$ yarn deploy
Otherwise:
$ yarn build
Then copy the /build
folder to your web server.
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).