21 lines
543 B
Markdown
21 lines
543 B
Markdown
# javapool
|
|
|
|
|
|
## Install
|
|
|
|
- Install [Nim], then build the executable: `nim c -d:release -d:ssl bot.nim`
|
|
|
|
- Copy the `.config-sample/` directory and rename it to `.config`.
|
|
|
|
- Edit .config/config.json` to insert the server connection details, and
|
|
`.config/codes.json` to add or remove the service codes to which the bot will
|
|
respond.
|
|
|
|
- Run the bot: `./bot`
|
|
|
|
- To run the bot in the background, you can use a service unit manager like
|
|
systemd (see examples of service files in `init-scripts/`).
|
|
|
|
|
|
[Nim]: https://nim-lang.org/install.html
|