Follow these steps to set up the project with Docker:
First, clone the repository to your local machine:
git clone https://github.com/AdnaneMaj/Real-time-Roc-system.git
cd Real-time-Roc-systemBefore building, copy places.json and reviews.json file inside /src/data/static/
The project uses Docker Compose to set up the necessary containers. To build the Docker image and start the containers, run the following command:
docker-compose -f docker/docker-compose.yml up --buildThis command will:
- Build the Docker image as defined in the
Dockerfile. - Start the containers and set up any necessary services as specified in the
docker-compose.ymlfile.
Once the containers are up, you can access your application by navigating to the appropriate port on your local machine.
For example, if the docker-compose.yml file exposes port 5000 for your app, you can open the application in your browser at: Local application
You are supposed something like this :
To stop the containers, run:
docker-compose downThis will stop and remove the containers, networks, and volumes defined in the docker-compose.yml file.
If you make changes to the code or the Dockerfile, you’ll need to rebuild the image. Use the following command:
docker-compose up --buildThis will rebuild the Docker image and restart the containers with the updated image.

