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.
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.
The source contains the following folders.
Several scripts are available for building, testing and publishing.
Building
npm run build_dev: Builds the development version of the engine and the website.npm run build_engine_dev: Builds the development version of the engine.npm run build_engine_prod: Builds the production version of the engine.npm run build_website_dev: Builds the development version of the website.npm run build_website_prod: Builds the production version of the website.Testing
npm run test: Runs all unit tests.npm run lint: Runs eslint on the codebase.Packaging
npm run create_package: Generates the production version of the engine and the website.npm run create_dist: Generates the production version of the engine and the website, and runs all the possible checks.