Printable resources mainly for education.
To start the development server, run:
npm startTo run unit tests, run:
npm testTo run end-to-end tests, run:
npm run cypress...and then run your tests from there.
You can also run them all from the command line with the following:
npx cypress runIf you get the following error when running tests:
libuuid.so.1: cannot open shared object file: No such file or directory
On Ubuntu, install the following canvas dependencies:
sudo apt install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-devThen copy the libraries:
cp /lib/x86_64-linux-gnu/{libblkid,libmount,libuuid}.so.1 ./node_modules/canvas/build/ReleaseThen rebuild:
npm rebuildThis project comes with a script to help you build printable materials faster. Run the following script and follow the prompts.
npm run generate-page