Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.29 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.29 KB

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.