Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kirdock/moodle2.0


https://github.com/kirdock/moodle2.0

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Moodle2.0
[![Build Status](https://travis-ci.com/Kirdock/Moodle2.0.svg?branch=master)](https://travis-ci.com/github/Kirdock/Moodle2.0)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=Kirdock_Moodle2.0&metric=bugs)](https://sonarcloud.io/dashboard?id=Kirdock_Moodle2.0)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=Kirdock_Moodle2.0&metric=code_smells)](https://sonarcloud.io/dashboard?id=Kirdock_Moodle2.0)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Kirdock_Moodle2.0&metric=alert_status)](https://sonarcloud.io/dashboard?id=Kirdock_Moodle2.0)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=Kirdock_Moodle2.0&metric=sqale_index)](https://sonarcloud.io/dashboard?id=Kirdock_Moodle2.0)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=Kirdock_Moodle2.0&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=Kirdock_Moodle2.0)

__Install:__
- make sure the following is installed and in system variable PATH: maven, java (jdk 1.8), node
- if you run Maven from console, add the "PathToJavaJDK" to system variable "JAVA_HOME"
- run "mvn clean install"

__How to run:__
- run "mvn --projects backend spring-boot:run" in root directory
- Access http://localhost:8098

__Local Database Configuration__

For local development configure the following environment variables
in your IDE

- SPRING_DATASOURCE_URL = jdbc:h2:file:./data/demo
- SPRING_DATASOURCE_DRIVER-CLASS-NAME = org.h2.Driver
- SPRING_DATASOURCE_PASSWORD = sa
- SPRING_DATASOURCE_USERNAME = password
- SPRING_JPA_DATABASE-PLATFORM = org.hibernate.dialect.H2Dialect
- SPRING_H2_CONSOLE_ENABLED = true
- jwtSecret=moodle20SecretKey;
- jwtExpirationMs=86400000;
- adminUserName=admin;
- adminPassword=admin;
- SPRING_JPA_HIBERNATE_DDL-AUTO=none;
- adminMatriculationNumber=00000000;
- studentEmailPostfix=edu.aau.at;
- developerMode=true;
- tempPasswordExpirationHours=24;
- senderEmailUsername=... (example: [email protected]);
- senderEmailPassword=...

Access H2 Console
- http://localhost:8098/h2-console

__UML__

https://www.lucidchart.com/documents/edit/c07a6905-07a6-41ca-b6e5-ce2c819f0b01/0_0?beaconFlowId=9175431D68038623

# Heroku
https://moodlev2.herokuapp.com/