Download the latest prebuilt version here: https://github.com/juliusbierk/simultant/releases/
Make sure you have node.js and Python (>= 3.8) installed (and make sure that both are added to the system PATH). Then run:
npm install
(sudo) pip install -r requirements.txt
This is needed to build an executable, but not needed to just run the code.
Make environment
npm run make-venv
To use this environment, use the activation script in venv\bin
Optionally, deleted unused libraries in venv\Lib\site-packages\torch\lib
.
First time you run the code you need to populate the database:
python pysrc/db/manage.py migrate
npm run serve
npm run webserve
python pysrc/simulserver.py
npm run build
To launch on Windows simply open
dist\win-unpacked\simultant.exe
On *nix you need to separately run
./dist/linux-unpacked/simultant
./dist/simulserver/simulserver