-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
51 lines (42 loc) · 1.66 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
To run bot, you need have installed:
* python25-2.5.1 - http://python.org/
* py25-twistedCore-2.5.0 - http://twistedmatrix.com/
* py25-twistedWords-0.5.0 - http://twistedmatrix.com/
* py25-twistedWeb-0.7.0 - http://twistedmatrix.com/
Optionally:
* sqlite3-3.4.1 - http://sqlite.org/
* py25-sqlite3-2.5.1_1 - http://python.org/
(run "python ./tools/depends.py" to be sure that all dependencies are installed)
==== INSTALLATION ====
1) FreeBSD
./configure prefix=/usr/local
make
make install
cp tools/rc.d/freebsd /usr/local/etc/rc.d/freqbot
sh ./dists/freebsd/pkg-install freqbot POST-INSTALL
2) Debian
./configure prefix=/usr sysconfdir=/etc
make
make install
And some like this:
adduser --system --disabled-login --no-create-home --home /var/freqbot --group freqbot
mkdir -p /var/freqbot && chown freqbot:freqbot /var/freqbot
chmod 750 /var/freqbot
mkdir -p /var/log/freqbot && chown freqbot:freqbot /var/log/freqbot
chmod 750 /var/log/freqbot
cp tools/rc.d/debian /etc/init.d/freqbot
update-rc.d freqbot defaults
then copy /etc/freqbot.conf.sample to /etc/freqbot.conf and edit it.
3) Other UNIX
./configure
make
make install
...
then copy $(sysconfdir)/freqbot.conf.sample to $(sysconfdir)/freqbot.conf and edit it.
use "freqtool {start|stop|status}" to manage freQ-bot
4) Windows
Hm...
install all dependencies, rename freqbot.conf.example to freqbot.conf and EDIT IT.
then something like this:
cd c:\path\to\bot
c:\path\to\python.exe start.py freqbot.conf