An IRC bot frame built with Moose and Reflex (with POE).
Manual installation requires cpanminus
and Dist::Zilla
.
- Clone the repository.
- Copy
data/config.yml.example
todata/config.yml
. - Edit
data/config.yml
with your connection information. - Install the prerequisites (skipping their tests):
dzil authordeps | xargs -n 5 -P 10 cpanm --notest --quiet
dzil listdeps --author | xargs -n 5 -P 10 cpanm --notest --quiet
- Run the bot:
./script/metal.pl
- Install the database (should create an SQLite database in
share
):dbic-migration -Ilib --schema_class=Metal::Schema install_if_needed
docker-compose build
- Copy
data/config.yml.example
todata/config.yml
and edit it docker-compose up
For development purposes, it may be useful to use the following
docker-compose.yml
file:
version: "3"
services:
bot:
build: .
command: ./dev/up
volumes:
- .:/opt/Metal
This mounts the entire current directory, meaning you can edit files without rebuilding the entire container.