To deploy the tool, it is necessary to install Docker engine and Docker compose: https://docs.docker.com/engine/install/
- Clone this repository
git clone https://github.com/MODERATE-Project/lec-location-assessment-tool.git
- Enter the cloned directory
cd .\lec-location-assessment-tool\
- Build the docker image
docker compose -f docker-compose.prod.yaml build --no-cache
- Install containers to run the tool
docker compose -f docker-compose.prod.yaml up
Open the browser with the following link: http://localhost
There will be four containers deployed in the system, as can be seen in the docker compose file of this repository. These are:
- Microservice to offer building data through an API. Example:
- To get the data of all buildings in the municipality of Crevillent, you can make a GET request to the endpoint http://127.0.0.1:5001/buildings?municipio=Crevillent
- Microservice to obtain municipality data. Example:
- To get the names of municipalities in Spain, you can make a GET request to the endpoint http://localhost:5000/municipalities
- Geoserver to publish geospatial data in vector formats. Located at http://localhost:8080/geoserver
- React application to access cadastral and socio-statistical information linked with the buildings of a municipality. Located at http://localhost
docker-compose -f docker-compose.prod.yaml down