This section provides instructions on how to install and set up the Mapapi project using Docker.
Clone the Repository: Clone the repository to your local machine using the following command:
git clone https://github.com/223MapAction/Mapapi.git
Navigate to the Project Directory: Move into the project directory:
cd Mapapi
Build and Run the Containers: Use Docker Compose to build and run the services:
docker-compose -f _cd_pipeline.yml up --build
This command will build the Docker images and start the containers for the application, including the database, API server, Redis, and other services.
Access the Application: Once the containers are up and running, you can access the application at http://localhost.
Stopping the Services: To stop the running services, use:
docker-compose -f _cd_pipeline.yml down
This setup leverages Docker to manage dependencies and services, ensuring a consistent environment across different systems.