Installation

Tools

In order to run this project you need to have the following tool installed:

Clone and setup

  1. Clone this project into a folder you link via git clone git@github.com:WISVCH/events.git.
  2. Import the project using IntelliJ IDEA, we recommend using IntelliJ IDEA Ultimate (free for students) because it includes support for Spring. Gradle import
  3. Enable annotation processing Preferences > Build, Execution, Depolyment > Compiler > Annotiation Processing.
  4. Create an PostgreSQL database (Tutorial PostgreSQL database).
  5. Duplicate the file config/application.yml.example and change its name to config/application.yml and change:
    1. Replace <MyDb> with the name of the database you just created.
    2. Replace <MyDbUser> with the database user.
    3. Replace <MyDbPassword> with the password of the database user.
    4. Replace <MyLDAPgroup> with a committee you are in (e.g. akcie, choco)
      • Note: if you are not in a committee you can use users as LDAPgroup
  6. Start the project by right-clicking EventsApplication and clicking ‘Run’

Running test

The test of the project can be run via the command

./gradlew test

Or by right-clicking the test folder and selecting Run 'All the test'