IRC damon demo ( using ngIRCd: a free, portable and lightweight Internet Relay Chat server for small or private networks.)
$ git clone git@github.com:peco8/ngircd-demo.git
$ cd ngircd-demo
$ docker build --no-cache --tag quickstart-php .
$ docker run -d -p 6667:6667 ngircd-demo
Your app should now be running locally.
or If you have docker installed already,
$ docker run --rm -e ARUKAS_JSON_API_TOKEN=<APIT_TOKEN> -e ARUKAS_JSON_API_SECRET=<SECRET_KEY> arukasio/arukas run --instances=1 --mem=512 -ports=80:tcp peco8/ngircd-demo
If you don't have any cliens to connect, here is the list.
Create bot/env.php file
following bot/env.sample.php
.
You can overload and customize specific variables when running scripts.
$ php ngircd-demo/bot/run.php
- Toshiki Inami (t-inami@arukas.io)
This project is licensed under the terms of the MIT license.
Continue with this tutorial here.