summaryrefslogtreecommitdiff
path: root/phenny_howto.txt
blob: bcc7b59903ec0ae3cffe0f5194ca96e19c49db38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This is a simple way to get pyscholar running as an IRC bot.

1. Get phenny sources:

git clone http://github.com/sbp/phenny.git

2. Customize and put this config file into $HOME/.phenny/default.py:

nick = 'bot nick'
host = 'chat.freenode.net'
channels = ['#botchannel']
owner = 'your nick'

# password = 'yourserverpassword'

admins = [ owner ] # add more nicks if needed

# Load pyscholar modules
extra = [ 'path to pyscholar/phenny_doi.py', 'path to pyscholar/phenny_paper.py' ]

# EOF

3. Run phenny! You probably need to do it this way:
 PYTHONPATH=path_to_pyscholar phenny