Skip to content
/ RDID Public

RDID(RCC Developer ID) is IdP for Ritsumeikan Computer Club.

License

Notifications You must be signed in to change notification settings

averak/RDID

Repository files navigation

RDID

build test Version 1.0 MIT License

RDID(RCC Developer ID) is IdP for Ritsumeikan Computer Club.

Develop

Requirements

  • Java OpenJDK 11
  • Spring Boot 2.5
  • MySQL 8.0

Usage

If you want to run on Windows, you can use gradlew.bat instead of of gradlew.

How to bulid

$ ./gradlew bootJar

When build successful, you can find .jar file in app/build/libs

How to run

First, you need to launch mysql with docker-compose.

$ docker-compose up -d

Then you can launch application. Default port is 8080. If you want to change port, run with -Dserver.port=XXXX.

# 1. run .jar file
$ java -jar rippy-<version>.jar  # -Dspring.profiles.active=<environment>

# 2. run on dev environment
$ ./gradlew bootRun

How to test

# 1. all tests
$ ./gradlew test

# 2. only unit tests
$ ./gradlew unitTest

# 3. only integration tests
$ ./gradlew integrationTest

API docs

This project support Swagger UI.

  1. Run application
  2. Access to Swagger UI

About

RDID(RCC Developer ID) is IdP for Ritsumeikan Computer Club.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published