Prerequisets:
- Python 3+, newest version
- GNU Make.
- MacOS instructions: Open Terminal.app or iTerm.app, then run
xcode-select --install
- Windows: If you already have cygwin or MinGW, then you may already have make preinstalled. Otherwise, you can try installing it here
- MacOS instructions: Open Terminal.app or iTerm.app, then run
- Download emscripten and install it.
- The C++ compiler binary is called
em++
. Update the Makefile.variableEMSCRIPTEN_HOME
variable to the path ofem++
on your system. - Run
make all
while being in the root directory to compile the C++ code to javascipt. - Run
make server