Environment Setup

This document helps you setting up the developer environment. It is useful if you would like to contribute to the codebase of the engine or the website.

Quick Start

After cloning the repository run these commands from the root directory.

npm install
npm start

This will compile the development version of the code and start a web server. Now you can open http://localhost:8080 to check the result.

Environments

The solution is implemented as ES6 modules. It means that it must be bundled together to one file to make it usable on the website. The development and production environment is separated, see the Scripts section for more details.

Source Structure

The source contains the following folders.

Scripts

Several scripts are available for building, testing and publishing.

Building

Testing

Packaging

Tools