Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 1.12 KB

README.md

File metadata and controls

62 lines (49 loc) · 1.12 KB

Simulatant

Distribution

Download the latest prebuilt version here: https://github.com/juliusbierk/simultant/releases/

Develop / Build

Install requirements

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

Make virtual enviroment

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.

Create database

First time you run the code you need to populate the database:

python pysrc/db/manage.py migrate

Run (development) as app

npm run serve

Run (development) in webserver:

npm run webserve
python pysrc/simulserver.py

Build app (production)

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