Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 908 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 908 Bytes

Doxxy bot module

Maven module of the Discord bot, it may optionally use the backend.

Running

Requirements

  • JDK 17+
  • A PostgreSQL database, a recent enough version (11+) should be enough.

Setting up

  1. Copy the config-template as dev-config.
  2. Delete the "logback.xml" as it is only for production.
  3. Set the values in config.json.
  4. Run the bot:
    • Using mvn -pl doxxy-bot -am compile exec:exec in the root working directory, or,
    • Make a run configuration with the VM options found in exec-maven-plugin in the doxxy-bot working directory.
  5. ???
  6. Profit

Database changes

If you change something to the database, please write a migration script here, with Flyway's naming scheme:

V[Major].[Minor].[YYYY].[MM].[DD]__Extended_Description.sql.