Skip to content

A project created as part of the module "Programmierpraktikum 2" at Heinrich Heine University Düsseldorf

Notifications You must be signed in to change notification settings

team-propra/roommate

Repository files navigation

RoomMate by Team-Propra

Getting Started

OAuth

In order to run the Spring Boot application locally, you will need to provide a GitHub oauth application token. First go to https://github.com/settings/applications/new and create an oauth application.

Now you'll see ClientID. You also require a Client Secret, so feel free to generate one. Afterwards in order to run the application you will need to set the following environment variables: CLIENT_ID and CLIENT_SECRET

In case you're using IntelliJ, you may follow these steps:

  • Go to RunConfigurations > Edit (top right)
  • Edit the Spring Boot Configuration for this project
  • ModifyOptions > EnvironmentVariables
  • Enter the following string (replacing *** with your values) CLIENT_ID=***;CLIENT_SECRET=***

Now you will be able to run the application properly with OAuth login :)

Deployment

Using IntelliJ IDEA

If you are using IntelliJ to start up RoomMate, remember to add these following environment variables to your run configuration:

ADMIN_HANDLE=YOUR_GITHUB_HANDLE (In case you want to test the application as an admin)

CLIENT_ID=YOUR_CLIENT_ID (from OAuth step above)

CLIENT_SECRET=YOUR_CLIENT_SECRET (from OAuth step above)

DATABASE_URL=localhost

KEYMASTER_URL=localhost

Using Docker compose

Before you can use docker compose up you will need to create an .env file according to our example.env and set it's values accordingly.

Documentation

For an overview of the project's scope, basic architecture and goals & requirements see our documentation.

Current-branch

Tests

Develop-branch

codecov

graph

Master-branch

codecov

graph

About

A project created as part of the module "Programmierpraktikum 2" at Heinrich Heine University Düsseldorf

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •