Spring-Boot3 web application for recommending similar or relevant Cultural Heritage Objects (CHOs) for another CHO, a set of CHOs or an entity. The application uses Search API to return answers in the same format as used by Search API.
To build:
- Java 17
- Maven*
- Europeana parent pom
- Europeana recommendations-updater (for common files)
* A Maven installation is recommended, but you could use the accompanying mvnw
(Linux) or mvnw.cmd
(Windows)
files instead.
mvn clean install
(add -DskipTests
) to skip the unit tests during build
The application has a Tomcat web server that is embedded in Spring-Boot.
Either select the RecommendApplication
class in your IDE and 'run' it
or
go to the application root where the pom.xml is located and excute
./mvnw spring-boot:run
(Linux) or mvnw.cmd spring-boot:run
(Windows)
-
Generate a Docker image using the project's Dockerfile
-
Configure the application by generating a
iiif.user.properties
file and placing this in the k8s folder. After deployment this file will override the settings specified in theiiif.properties
file located in the src/main/resources folder. The .gitignore file makes sure the .user.properties file is never committed. -
Configure the deployment by setting the proper environment variables specified in the configuration template files in the k8s folder
-
Deploy to Kubernetes infrastructure
Licensed under the EUPL 1.2. For full details, see LICENSE.md.