24 lines
791 B
Markdown
24 lines
791 B
Markdown
|
|
# environment
|
||
|
|
|
||
|
|
Available Spring profiles (`SPRING_PROFILES_ACTIVE`):
|
||
|
|
|
||
|
|
- `postgres`: Connects to postgres (required)
|
||
|
|
- `old_scores`: Tries to fix old scores with a version of the algorithm that was used before the current one. (optional)
|
||
|
|
- `updater`: Pulls new scores from the osu!api (optional)
|
||
|
|
- `discord`: Enables integration with Discord webhooks (optional)
|
||
|
|
- `debug`: Enables debug logs in console (optional)
|
||
|
|
|
||
|
|
To run, you'll need a local postgres database and a redis database.
|
||
|
|
|
||
|
|
You can check out the configuration files in `src/main/resources` to see how to configure the application.
|
||
|
|
|
||
|
|
|
||
|
|
# development
|
||
|
|
|
||
|
|
Make sure you have the correct JDK (21) and Kotlin versions installed to run it.
|
||
|
|
|
||
|
|
If you need to rebuild JooQ entities, you can run the following command:
|
||
|
|
|
||
|
|
```
|
||
|
|
mvn generate-sources
|
||
|
|
```
|