Skip to content

n7st/Metal.pl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metal Build Status

An IRC bot frame built with Moose and Reflex (with POE).

Installation

Manual installation requires cpanminus and Dist::Zilla.

  1. Clone the repository.
  2. Copy data/config.yml.example to data/config.yml.
  3. Edit data/config.yml with your connection information.
  4. 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
  5. Run the bot: ./script/metal.pl
  6. Install the database (should create an SQLite database in share):
    • dbic-migration -Ilib --schema_class=Metal::Schema install_if_needed

Using Docker

  1. docker-compose build
  2. Copy data/config.yml.example to data/config.yml and edit it
  3. 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.

About

Readonly mirror of https://git.netsplit.uk/mike/Metal. Modular OO IRC bot - Perl, Reflex with POE::Component::IRC, Moose

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages