This document explains how to run the application using Docker and how to run each service locally for development.
- Install Docker and Docker Compose
- Ensure port 80 is available on your machine
- Download or clone the source code
Open a terminal in the root directory of the project and run:
docker compose buildWait for the build process to complete.
docker compose up -dThis will start all services in detached mode.
Once all containers are running, open your browser and go to:
http://localhost/
The application should now be accessible.
If you prefer to run each service individually, follow the instructions below.
Navigate to the frontend folder:
cd frontendnpm installnpm run dev- Default port: 5173
npm run buildnpm run preview- Default preview port: 4173
To list all available npm scripts:
npm runEnvironment variables are preconfigured to use the default ports of the backend services.
Navigate to the Sparql-Backend folder:
cd Sparql-Backend- Install Maven
- Ensure Java is installed
mvn installmvn spring-boot:run- Default port: 8080
mvn clean packageThe generated .jar file will be located in:
target/backend-1.0.0.jar
cd target
java -jar backend-1.0.0.jarNavigate to the Visualization folder:
cd Visualization- Install Python 3
python -m venv venvLinux / macOS:
source venv/bin/activateWindows:
venv\Scripts\activatepip install -r requirements.txtpython visualizer.py- Default port: 5000
Navigate to the Importer folder:
cd Importer- Install Python 3
python -m venv venvLinux / macOS:
source venv/bin/activateWindows:
venv\Scripts\activatepip install -r requirements.txtpython importer.py- Default port: 5001
| Service | Default Port |
|---|---|
| Frontend (dev) | 5173 |
| Frontend (preview) | 4173 |
| SPARQL Backend | 8080 |
| Visualization | 5000 |
| Importer | 5001 |
| Docker (app entry) | 80 |
- Ensure all required ports are available before starting the services.
- Docker setup is recommended for a fully integrated environment and ease of use of the app.
- Local development is ideal for debugging or developing on individual services.