Notify - configuring runtime
You need to add some dependencies to two different files in order to make Notify work successfully:
- Add the
notifyVersion
to the file server/jvm/gradle.properties:
notifyVersion=x.y.z
- Add a reference to your server/jvm/alpha-dictionary-cache/build.gradle.kts file, such as this:
dependencies {
....
implementation("global.genesis:genesis-notify-config:${properties["notifyVersion"]}")
}
This creates the fields and tables that enable Notify to run.
- Add a reference to your server/jvm/alpha-deploy/build.gradle.kts file:
dependencies {
...
genesisServer(
group = "global.genesis",
name = "genesis-notify-distribution",
version = properties["notifyVersion"].toString(),
classifier = "bin",
ext = "zip"
)
...
}
- Reload the gradle project so the dependencies can be downloaded.
- Run the
genesisInstall
script to create the notify folder in your runtime folder, as well as all the necessary configuration and scripts. - Run the
remap
script so the tables and fields are created in your database. - Start the server.
After following these seven steps, a new process will appear in your mon tab: GENESIS_NOTIFY. This is the process that manages the Notify module.