aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md31
1 files changed, 31 insertions, 0 deletions
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
+