diff --git a/ReadMe.txt b/ReadMe.txt new file mode 100644 index 0000000000000000000000000000000000000000..9558ef9da5f8ed6561fd702b6338bb327f34f62b --- /dev/null +++ b/ReadMe.txt @@ -0,0 +1,25 @@ +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 + +For user service database: +mysql -u root -padvancedweb -h127.0.0.1 -P9906 -> root user +mysql -u service_user -pservice_user -h127.0.0.1 -P9906 -> service_user + +For recipe service database: +mysql -u root -preciperoot -h127.0.0.1 -P9907 -> root user +mysql -u recipe_user -precipe_user -h127.0.0.1 -P9907 -> recipe_user