Commit 230e1d3

mo <mo.khan@gmail.com>
2018-04-28 05:11:48
add example configuration.
1 parent d09a006
Changed files (1)
README.md
@@ -20,6 +20,21 @@ Or install it yourself as:
 
 ## Usage
 
+Create a `.delrc` file in your `$HOME` directory.
+
+Add the following environment variables:
+
+```text
+DEL_FULL_NAME='Del the Funky Robosapien'
+DEL_HOST='chat.mycompany.com'
+DEL_JID='my_id@chat.btf.hipchat.com'
+DEL_MUC_DOMAIN='conf.btf.hipchat.com'
+DEL_PASSWORD=secret
+DEL_ROOMS=1_pidge,2_hunk,3_shiro
+```
+
+Start the chat server:
+
     $ del routes.rb # see lib/del/examples/routes.rb for an example
 
 ## Development