From 510da5061738260c1c29ca57d70c623bc28bc2b0 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 12 Aug 2014 11:35:53 +0100 Subject: [PATCH 1/3] Added basic README --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7358677 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +dropbot +======= + +A XMPP bot to provide simple services to NOG8S and Predditors in general + +Setup +----- + +Dropbot is designed to run on Heroku, but can be ran locally using ```python dropbot\cli.py -c env``` + +Configuration +------------- + +The configuration is passed by using environment variables. + +* ```DROPBOT_JID``` - JID of the bot account +* ```DROPBOT_PASSWORD``` - Password of the account +* ```DROPBOT_NICKNAME``` - MUC nickname (defaults to Dropbot) +* ```DROPBOT_CMD_PREFIX``` - Prefix of MUC channel commands (defaults to !) +* ```DROPBOT_KOS_URL``` - URL of the CVA KOS API service (defaults to http://kos.cva-eve.org/api/) From 5eb577ca42878bf8d4d767f25f3fbbc2a9d9518e Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 12 Aug 2014 11:38:31 +0100 Subject: [PATCH 2/3] Pin requirements --- requirements.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index 97ddc8a..7161e7f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -sleekxmpp -eveapi -redis -requests -humanize -dnspython -networkx \ No newline at end of file +sleekxmpp==1.3.1 +eveapi==1.2.6 +redis==2.10.2 +requests==2.3.0 +humanize==0.5 +dnspython==1.11.1 +networkx==1.9 From 7a9705473b7b45f59d3f4e8798c69776618d0b1b Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 12 Aug 2014 12:53:25 +0100 Subject: [PATCH 3/3] Added DROPBOT_ROOMS to the README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7358677..cecf256 100644 --- a/README.md +++ b/README.md @@ -16,5 +16,6 @@ The configuration is passed by using environment variables. * ```DROPBOT_JID``` - JID of the bot account * ```DROPBOT_PASSWORD``` - Password of the account * ```DROPBOT_NICKNAME``` - MUC nickname (defaults to Dropbot) +* ```DROPBOT_ROOMS``` - List of MUC rooms to join, seperated by commas * ```DROPBOT_CMD_PREFIX``` - Prefix of MUC channel commands (defaults to !) * ```DROPBOT_KOS_URL``` - URL of the CVA KOS API service (defaults to http://kos.cva-eve.org/api/)