Know the pirate game we all love from school? Want a digital version? Our A Level team are aiming to make a fully functioning prirate game! Run on localHost while developing
The pirate game comes with the relevant docker file-systems to
facilitate debugging it within a docker environment. In order to do
this, one must have an instance of docker installed on your system.
This may be downloaded from the official website https://www.docker.com
or the packages docker
and docker-compose
may be installed
from the repos of your linux system.
Once docker is installed, you can use the files in this repo to setup a docker container. To setup the relevant containers:
docker-compose up -d --build
Some common commands can be used to manipulate the created container:
docker container ls
- Lists the running containers so as to
determine the name of the created containerdocker container restart <container_name>
- Restart the gamedocker container logs <container_name>
- Show the historical
output of the the python program.docker container attach <container_name>
- Show all current
output of the program on the consoleThis will host the pirate game on the localhost under port 8000 under a gunicord wsgi server
Link colour = rgb(145, 145, 145) Box shadows = 0 4px 8px 0 rgba(0,0,0,0.2) Secondary header colour = #474e5d Header colour = #ffd900