Skip to content
Erlang Irc bot
Find file
Latest commit 12986c8 Tristan Sloughter always require bucket in sysconfig
Failed to load latest commit information.
apps always require bucket in sysconfig
config set channel
.gitignore add app rebar configs and update gitignore for relcool and lager
Makefile code cleanup
Procfile cleanup update relcool and readme
rebar.config rebarify
relcool update relcool
relcool.config start eval on boot



Modify ./config/sys.config.

  {mmmbot, [{host, "<IRC HOST>"},
            {port, <IRC PORT>},
            {nickname, "mmmbot"},
            {channel, "<CHANNEL>"}]},

  {mmmbot_images, [{access_key, "<AWS KEY>"},
                   {secret_key, "<SECRET KEY>"},
                   {bucket, "<S3 BUCKET>"}]},

  {lager, [
           {handlers, [
                        {lager_console_backend, info}

Build and Run

λ make rel
λ _rel/bin/mmmbot

1> mmmbot_images:start().

Run on Heroku

Update your ./config/sys.config file as usual and commit that change.

λ git add ./config/sys.config
λ git commit -m "update sys.config"
λ heroku create --buildpack
λ git push heroku master
λ heroku scale bot=1
Something went wrong with that request. Please try again.