From dd4a2a980fee576fa87c6179ca0204f3e287ecaa Mon Sep 17 00:00:00 2001 From: "Yankova, Liliya (UG - Computer Science)" <ly00240@surrey.ac.uk> Date: Tue, 13 Apr 2021 16:57:36 +0100 Subject: [PATCH] Added ReadMe for docker --- ReadMe.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ReadMe.txt diff --git a/ReadMe.txt b/ReadMe.txt new file mode 100644 index 0000000..0a30d36 --- /dev/null +++ b/ReadMe.txt @@ -0,0 +1,17 @@ +Install Docker: +https://www.docker.com/products/docker-desktop + +Have Docker running - either open the application or in terminal (docker start) + +docker ps -> check running containers +docker ps -a -> check all containers + +Go into the main folder of this project +Execute - docker-compose up -d --build (This calls the docker-compose.yaml file and starts the containers. +The build option is for the Dockerfile - it enables the mysqli extension for the database); + +To check if the containers are running - docker ps + +Visit -> http://localhost:8000 + +To stop the containers - docker-compose down -- GitLab