-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Before installing any of the parts, you need to have Docker installed.
Open your terminal and navigate to the desired directory where you want to clone the repository. Run the following command:
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/distributed-systems.gitThis will clone the repository to your local machine.
Enter the project directory:
cd distributed-systemsInside this distributed folder clone:
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/api-gateway.git
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/frontend-admin.git
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/frontend-patient.git
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/frontend-dentist.git
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/map-service.gitRun the following command to build the Docker images specified in the docker-compose.yml file:
docker-compose buildAfter the images are built successfully, start the Docker containers in detached mode:
docker-compose up -dThis will start the services defined in your docker-compose.yml file.
Clone the logging service repository from Git:
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/logging-service.gitNavigate to the logging-service directory and build and run the Docker container:
cd logging-service
docker-compose build
docker-compose up -dClone the booking service repository from Git:
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/booking-service.gitNavigate to the booking-service directory and build and run the Docker container:
cd booking-service
docker-compose build
docker-compose up -dClone the notification service repository from Git:
git clone git@git.chalmers.se:courses/dit355/2023/student-teams/dit356-2023-04/notification-service.gitNavigate to the notification-service directory and build and run the Docker container:
cd notification-service
docker-compose build
docker-compose up -dYou can check the status of the running containers to ensure everything is working as expected:
docker ps