- Ensure you have docker and docker-compse. Modern docker-desktop provides both for all architectures.
- Run
docker compose build
- Run
docker compose up
This will:
- install dependencies with yarn only inside of the docker image
- set the configurations right to connect to a edubadges-server running on localhost:80001
- mount your working directory, with the source code into the container
- run a devserver in the container, with hot reload, logging and exposed on the container expoed port
Alternative to Docker is to run it locally on the machine. This requires yarn and the right nodejs versions (TODO: what are these?)
< 8897 div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yarn install yarn dev">yarn install
yarn dev