a game to practice git commands by playing cards with git commands against an npc.
Clone the repository
git clone https://github.com/Gamify-IT/git-card-game.git
Install the dependencies
npm install
Start all dependencies with our docker-compose files. Check the manual for docker-compose.
npm run serve
Build the Docker-Container
docker build -t git-card-game-dev .
And run it at port 8000 with
docker run -d -p 8000:80 --name git-card-game-dev git-card-game-dev
To monitor, stop and remove the container you can use the following commands:
docker ps -a -f name=git-card-game-dev
docker stop git-card-game-dev
docker rm git-card-game-dev
Run the docker container with the following command at port 8000:
docker run -d -p 8000:80 --name git-card-game ghcr.io/gamify-it/git-card-game:latest
Now you can access it at http://localhost:8000.
To access it externally replace localhost with your IP.
To monitor the container you can use the following command:
docker ps -a -f name=git-card-game
To stop the container you can use the following command:
docker stop git-card-game
To remove the container you can use the following command:
docker rm git-card-game