Static websites: run locally (limited) or on any web server (recommended).
Locally only in browsers that support locally local storage (Firefix, not Chrome, ...).
The Playstore app is a CORDOVA build (https://cordova.apache.org) of the website.
www: the built project
src: Sources to build the project
build: Build scripts
test: Unit tests
Copy the content of the folder
www in a web server (e.g. apache).
www/index.html in a browser. Works limited.
After changes JS Hero has to be rebuilt with npm.
package.json together with
build.sh defines the necessary steps and modules.
npm install to install the modules once.
npm run build to (re)build the project.
npm run build depends (unfortunately) on the operating system. It only runs with a Linux shell. Use
Git Bash or
WSL on windows.
Add a new koan
- Copy an existing koan and modify it.
- Insert the id of the new koan in the file order-de.js or order-en.js at the desired position.
npm run buildin a linux shell.
- Refresh your browser