Sign inSign up

olatorg/olat-oss

Sponsored OSS

By University of Zurich, IT/MELS

Updated 12 months ago

OLAT - Online Learning and Training

Image
0

4.7K

olatorg/olat-oss repository overview

OLAT - Online Learning and Training

License Contributor Covenant Spring Boot

OLAT is an acronym for Online Learning And Training. It is a mature Learning Management System and has been developed since 1999 at the University of Zurich.

Modules

ModuleDescription
appMain application module
legacyLegacy OpenOlat code
report-aggregateContains Maven reports
spring-bootSpring Boot Starter for OLAT

Development

  1. Clone the source code.

    git clone [email protected]:olatorg/olat-oss.git
    cd olat-oss
    
  2. Build the project and run tests.

    ./mvnw verify
    

Spring Boot Starter

  1. Add this repository to the repositories section of your project's pom.xml.

    <repositories>
      <repository>
        <id>olatorg-repo</id>
        <url>https://gitlab.com/api/v4/groups/olatorg/-/packages/maven</url>
      </repository>
    </repositories>
    
  2. Add this dependency to the dependencyManagement section.

    <dependencyManagement>
      <dependencies>
        <dependency>
          <groupId>org.olat</groupId>
          <artifactId>olat-spring-boot-dependencies</artifactId>
          <version>${olat.version}</version>
          <type>pom</type>
          <scope>import</scope>
        </dependency>
      </dependencies>
    </dependencyManagement>
    
  3. Add this dependency to the dependencies section.

    <dependency>
      <groupId>org.olat</groupId>
      <artifactId>olat-spring-boot-starter</artifactId>
    </dependency>
    
  4. Make sure to override the following dependency versions in the properties section.

    <properties>
      <hibernate.version>6.5.3.Final</hibernate.version>
    </properties>
    
  5. Add a olat.local.properties to src/main/resources and add properties to it according to your application's needs.

  6. Add the following snippet to your application's application.yml.

    logging:
      file:
        path: ${user.home}/.olat/logs
      log4j2:
        config:
          override: classpath:log4j2-default.xml
    spring:
      main:
        allow-bean-definition-overriding: true
        allow-circular-references: true
    

License

This project is Open Source software released under the Apache 2.0 license.

Tag Summary

No tags have been pushed to this repository yet.

This week's pulls

Pulls:

22

Feb 2 to Feb 8