-
+
Set Up the Development Environment
+Development Environment
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.
@@ -70,6 +70,15 @@ npm startThis 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.
+ +-
+
- Development: The development bundle will be created in the
buildfolder. The code of the website references this directly during development, so you can just open thewebsitefolder and try it out.
+ - Production: The entire self-containing package will be created in the
buildfolder. In this case all the required files are copied to this folder so you can just upload it to any web server to make it work.
+
Source Structure
The source contains the following folders.
@@ -118,9 +127,17 @@ npm startnpm run create_dist: Generates the production version of the engine and the website, and runs all the possible checks.Tools
+ +-
+
npm run generate_docs: Generates this documentation.
+ npm run generate_icon_font: Generates the icon font used on the website.
+ npm run update_libs: Updates the used external libraries.
+