Skip to content

How to run

Paul Bredl edited this page Jul 30, 2024 · 4 revisions

DinoDev is run using Docker. This page describes how to run DinoDev using Docker.

Setup Gropius

A Gropius instance is required to run DinoDev. Follow the instructions to set up Gropius in the Gropius repository. DinoDev was tested with Gropius on commit 5c04358251e7140e37a0cf78bce0c43c96f59581. While DinoDev should work with newer versions of Gropius, it is not guaranteed. For testing and development, the testing instance of Gropius is recommended to use.

⚠️ Use a JWT secret with at least 256 bits. Too be sure, use 100 characters.

If you want to use a deployed Gropius instance, ask an administrator for the URL and the JWT secret. DinoDev needs to access the secret, although it is planned to remove this dependency in the future.

Setup the docker network

DinoDev needs to access the Gropius API. A docker network is used to connect the Gropius and DinoDev containers. Create a docker network with the following command:

docker network create scrum-game-network

Add the Gropius frontend, public-api, and login-service to the network:

docker network connect scrum-game-network <gropius-frontend-container>
docker network connect scrum-game-network <gropius-public-api-container>
docker network connect scrum-game-network <gropius-login-service-container>

Setup and run the DinoDev backend

Follow the steps on this page.

Setup and run the DinoDev frontend

Follow the steps on this page.