[go: up one dir, main page]

Menu

[ab7a0e]: / mod.cservice / README  Maximize  Restore  History

Download this file

47 lines (33 with data), 1.3 kB

 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
Follow these steps to setup the database for the cservice module.  This
file assumes that postgresql is running and configured, and that you have
access to add and modify databases within it.

Create the database
-------------------
> createdb cservice

Note that this assumes that the ccontrol database does not already exist.

Install the pl language
-----------------------
The following command assumes (in addition to above conditions) that the
pgsql libraries are located in /usr/local/pgsql/lib:

> createlang plpgsql cservice -L /usr/local/pgsql/lib

Load the schema
---------------
Make sure you are in the gnuworld/doc directory.

> psql cservice < cservice.sql
> psql cservice < language_table.sql
> psql cservice < cservice.web.sql

Add administrator account
-------------------------
This command will add an account called 'Admin' with level 1000 access on
channel '*'...use this power wisely, The Dark Side is very powerful.

> psql cservice < cservice.addme.sql

Using this account you will be able to login as Admin online with your
cservice bot.

Username: Admin
Password: temPass (be sure to change this)

All Done
--------
That's it for the sql stuff.  Be sure to edit the configuration file for
cmaster (../bin/cservice.conf), giving username, nickname, etc, and
database information.

The GNUWorld development team