Skip to content
Ren edited this page Aug 17, 2019 · 1 revision

» Home » Core » Configuration

Configuration

  • database: Configuration settings for connecting to the database. The same database is used for all RPKit plugins.
    • url: The JDBC URL for connecting to the database.

      For MySQL, this comes in the form: jdbc:mysql://${database url}/${database name}, where ${database url} is the URL where your database is (localhost if on the same machine), and ${database name} is the name of the database (set in MySQL).

      For SQLite, this comes in the form: jdbc:sqlite:${database name}.db, where ${database name} is the name of the file where the database should be stored, relative to the folder where the server is being run from.

      For other databases (untested), see the provider of your JDBC library.

    • username: This is the username used to connect to the database. If you are using an SQLite database, you can remove this.

    • password: This is the password used to connect to the database. If you are using an SQLite database, or passwordless authentication, you can remove this.

    • dialect: This is the dialect of SQL that should be generated. This should match the type of database you're using.

  • web-server: These settings relate to the built-in webserver. This affects both API and frontend currently.
    • port: Which port to run the server on. If you wish to use it on a default web server port (such as 80 or 443) it is advised you run it behind a reverse proxy. (This is advised for SSL support anyway.)
    • title: This is the title to be shown on the web pages.
Clone this wiki locally