This is ecosystem simulation presented as a game using concepts like digital twin and supply chain tracking.
- Clone the repo
- Do the
npm install
in /backend and /frontend - Install angular-cli globally
npm install -g @angular/cli
- Start needed services with
docker-compose up bigchaindb
- Initialize game world with
npm run world
from /backend and copy worldId to /frontend/src/app/app.config.ts and /backend/src/config.ts - Compile backend with
npm run build
from /backend - Compile frontend with
npm run build
from /frontend - Start whole system with
docker-compose up
- Navigate to
localhost
for game
To wipe BigchainDB database use docker system prune --volumes
and reload starting world again with npm run world
.
npm run smallerworld
command executes file /backend/src/smallerworld.ts that has all starting identities.
Report bugs to issues and if you have problem first check issues if the problem was already solved.