Chapter 21. Downloading and building the school timetable reference implementation
If you want to see a completed example of the school timetable project for Red Hat Business Optimizer with Spring Boot product, download the starter application from the Red Hat Customer Portal.
Procedure
Navigate to the Software Downloads page in the Red Hat Customer Portal (login required), and select the product and version from the drop-down options:
- Product: Red Hat Decision Manager
- Version: 7.9
-
Download Red Hat Decision Manager 7.9 Reference Implementations (
rhdm-7.9.1-reference-implementation.zip
). -
Download Red Hat Decision Manager 7.9 Maven Repository (
rhdm-7.9.1-maven-repository.zip
). -
Extract the
rhdm-7.9.1-maven-repository.zip
file. -
Copy the contents of the
rhdm-7.9.1-maven-repository/maven-repository
subdirectory into the~/.m2/repository
directory. -
Extract the
rhdm-7.9.1-reference-implementation.zip
file. This archive contains reference implementation ZIP files. -
Extract the
rhdm-7.9.1-reference-implementation/rhdm-7.9.1-optaplanner-spring-boot-school-timetabling.zip
file. -
Navigate to the
optaplanner-spring-boot-school-timetabling-7.44.0.Final-redhat-00006
directory. Enter the following command to build the Spring Boot school timetabling project:
mvn clean install -DskipTests
mvn clean install -DskipTests
Copy to Clipboard Copied! To build the Spring Boot school timetabling project, enter the following command:
mvn spring-boot:run -DskipTests
mvn spring-boot:run -DskipTests
Copy to Clipboard Copied! To view the project, enter the following URL in a web browser:
http://localhost:8080/
http://localhost:8080/
Copy to Clipboard Copied!