- node
- Ansible
- Docker
cd build/ansible
make run-develop
- inspect MongoDB with connection to localhost:8001
cd backend
npm i
npm start
cd frontend
npm i
npm start
- open browser at
http://localhost:4200/
- Ansible
- access to dev.swehq.com
cd build/ansible
make deploy-dev
ormake deploy-prod
If you are making changes in the simualtion model or stats,
and want to update the json file frontend/src/app/game/game/data-czechia-real.json
based on same mitigation definition
and randomness params, just run the following code wherever (e.g.)
in the app.component.ts
and check the console for the report
(if new simulation differs, its state is printed out).
import {validateGame} from 'src/app/services/validate';
import realData from 'src/app/game/pages/game/data-czechia-real.json';
const data = realData as any;
validateGame(data, false);