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 Process Automation Manager
- Version: 7.9
-
Download Red Hat Process Automation Manager 7.9 Reference Implementations (
rhpam-7.9.1-reference-implementation.zip
). -
Download Red Hat Process Automation Manager 7.9 Maven Repository (
rhpam-7.9.1-maven-repository.zip
). -
Extract the
rhpam-7.9.1-maven-repository.zip
file. -
Copy the contents of the
rhpam-7.9.1-maven-repository/maven-repository
subdirectory into the~/.m2/repository
directory. -
Extract the
rhpam-7.9.1-reference-implementation.zip
file. This archive contains reference implementation ZIP files. -
Extract the
rhpam-7.9.1-reference-implementation/rhpam-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
To build the Spring Boot school timetabling project, enter the following command:
mvn spring-boot:run -DskipTests
To view the project, enter the following URL in a web browser:
http://localhost:8080/