This repository is the result of the wthrd_tech() team for the project "Web Catalogue for User-Friendly Search and Retrieval of Machine Learning Models for EO Datacubes", developed as part of the Geosoftware II module in the Winter semester 2024/2025.
The following sections explain how to set up and run the project.
First, clone the wthrd_tech repository to your local machine and navigate to the main branch:
git clone https://github.com/MatteoWeickert/wthrd_tech.gitNavigate to the project directory:
cd wthrd_techCreate a .env file in the root of the project directory to store environment variables. The .env file should include the database connection details and any other sensitive configuration. Here's an example:
POSTGRES_USER=admin
POSTGRES_PASSWORD=enterYourPasswordHere
POSTGRES_DB=metadata_databaseIn your project directory, run:
docker-compose up -d --buildTo access the Webkatalog, open your web browser and navigate to:
http://localhost:8082
This will bring up the Welcome-page of the Webcatalog where you receive further information on how to use the catalog.
Adminer is a lightweight database management tool that allows you to interact directly with the PostgreSQL database. To access Adminer, open your browser and navigate to:
http://localhost:8081
Once there, enter the following credentials:
System: PostgreSQL
Server: database (or localhost if accessing directly)
Username: admin (as defined in your .env file)
Password: The password you set in the .env file
Database: metadata_database
After logging in, you can explore the database, run SQL queries, and manage tables directly through the Adminer interface.
When you are done and want to stop the Docker container, run:
docker-compose downThis will stop and remove the containers defined in your docker-compose.yml file.