This guide provides steps to set up and run the EMSUGI application using Docker. Docker enables easy deployment and isolation of dependencies, making it simpler to get the application up and running without manual installation.
The EMSUGI application is designed to gather and analyze emergency alerts. It uses generative AI to predict future incidents based on historical data and current trends, providing visual analytics and real-time monitoring to improve emergency response efficiency.
- Docker: Make sure Docker is installed on your machine. You can download Docker here.
Clone the EMSUGI repository from GitHub:
git clone https://github.com/muhammad-fiaz/EMSUGI.git
cd EMSUGI
From the EMSUGI root directory (where the Dockerfile
is located), build the Docker image using the following command:
docker build -t emsugi-app .
This command will create an image named emsugi-app
based on the instructions provided in the Dockerfile
.
Once the image is built, you can run a container using:
docker run -p 5000:5000 emsugi-app
- The
-p 5000:5000
option maps port 5000 in the Docker container to port 5000 on your local machine. Adjust the ports as needed if there's a conflict with other applications.
After running the container, open your browser and navigate to:
http://127.0.0.1:5000/
The EMSUGI application should now be running in Docker, accessible from your local browser.
To stop the running container, press Ctrl + C
in the terminal where the Docker container is running or find the container ID with:
docker ps
Then stop it using:
docker stop <container_id>
If you encounter any issues, ensure that Docker is running properly on your machine, and check for any errors during the build or run processes.
This project is licensed under the MIT License - see the LICENSE file for details.