aboutsummaryrefslogtreecommitdiffstats
path: root/docs/getting-started.rst
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-03-18 17:18:37 +0200
committerkongr45gpen <electrovesta@gmail.com>2016-03-18 17:18:37 +0200
commitde83bf8dddf8212669adb6c92aa83f66af801428 (patch)
tree45fb0869eeb5ec3f8175ac9623833725b9b3da4b /docs/getting-started.rst
parent341134009c61e724faa84cc1df69cc3556ec4e1d (diff)
downloadsupybot_github-de83bf8dddf8212669adb6c92aa83f66af801428.tar.gz
supybot_github-de83bf8dddf8212669adb6c92aa83f66af801428.tar.bz2
supybot_github-de83bf8dddf8212669adb6c92aa83f66af801428.zip
Add some documentation
Diffstat (limited to 'docs/getting-started.rst')
-rw-r--r--docs/getting-started.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/getting-started.rst b/docs/getting-started.rst
new file mode 100644
index 0000000..9c0b392
--- /dev/null
+++ b/docs/getting-started.rst
@@ -0,0 +1,35 @@
+.. _getting-started:
+
+Getting started with supybot-github
+===================================
+
+Supybot-github should contain a few sane defaults to get you started.
+
+Installation
+------------
+
+1. Go to one of supybot's plugin folders and clone the plugin in a directory
+ called `Github`::
+
+ git clone https://github.com/kongr45gpen/supybot-github.git Github
+
+ It's important to have the plugin stored in a directory called `Github`, so
+ that supybot's :code:`@load Github` and :code:`@unload Github` commands work
+ properly.
+
+2. Ask supybot in IRC to load the plugin for you::
+
+ /msg my_awesome_bot load Github
+
+3. Set the channel where Github's notifications will be sent by default::
+
+ /msg my_awesome_bot config plugins.github.channel ##alezakos
+
+4. Create a webhook for your repository in Github's settings panel. Point it to
+ port `8093` of supybot's host machine::
+
+ http://www.example.com:8093/
+
+This should be enough to get you started!
+If everything was set up correctly, your bot should drop an inspiring quote on
+the channel you configured in the 3rd step.

© 2014-2024 Faster IT GmbH | imprint | privacy policy