From 07f05c96390e7658851c9c15f189471b6e40bc9e Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 13 Jan 2019 23:51:25 +0100 Subject: README.md: init --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fecb136 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ + + + first create a configuration file, say config.json, that looks like follows: + + { + "nick": "somenick", + "useNickServ": false + } + + or, if the nick is registered with NickServ, then: + + { + "nick": "somenick", + "pass": "somepass" + } + + then enter the Nix shell for development: + + cabal2nix . > default.nix && nix-shell -I stockholm=~/stockholm + + and run the REPL: + + build + run config.json + + or, interactively: + + ghci -isrc -Wall src/main.hs + withArgs ["config.json"] main + :r + -- cgit v1.2.3