This project contains the http://jscraftcamp.org site.
The node version required is the one noted in [./.travis.yml]. How to get the environment up and running, see the section [#local-development-environment-setup] below.
We offer at least two ways to install this project, you choose the one you like:
- use you own global nodejs version if installed on your system, or
- setup everything from scratch using nix
If you have a global nodejs version (at least the version as noted in the [#prerequisite]) You don't have to do anythin
If you don't want to rely on a global nodejs version, but want a reproducible environment, you can use nix as described here.
- Make sure to have nix installed (see nixos.org/nix) and then
cd <project-dir>- run
nix-shelland you should have the environment up and running - install all node modules using
npm install - prove that it works,
npm test - now you have a shell with a deterministic environment (incl. the right nodejs version)
- run
npm ito install all dependencies - run
npm startwhich will run the local webserver, for developing - run
npm testto run the tests - run
npm run buildto generate all static files and to concatenate all participants files into thedistdirectory