]> jfr.im git - irc/quakenet/newserv.git/blame - INSTALL
nickwatch: Make sure this works with large bursts.
[irc/quakenet/newserv.git] / INSTALL
CommitLineData
d1b8e200
GB
1newserv Installation
2~~~~~~~~~~~~~~~~~~~
3
4In order to install newserv you will have to run the configure script:
5
6$ ./configure
7
8The configure script will list any missing dependencies. If you're unsure why
9a certain library or header file was not found you can run the configure script
10with the -v option or check the .configure.log file after your first configure
11run.
12
91e81150 13Please refer to the "Local Settings" section in this file if you're
d1b8e200
GB
14using non-standard library/header search paths. Once you've resolved all
15dependency issues you can build newserv:
16
17$ make
18
19This might take a while. After all modules are built you can install
20newserv:
21
22$ make install
23
24By default the newserv binary and the modules are installed into your
25source tree. The recommended setup is to now create a separate directory
26and symlink the "newserv" binary and the "modules" directory into it:
27
28$ cd
29$ mkdir newserv-install && cd newserv-install
30$ mkdir data # Some modules depend on this directory being available
31$ ln -s ../newserv-src/newserv
32$ ln -s ../newserv-src/modules
33
34You will also need to copy the newserv.conf.example configuration file to your
e7b7b171
GB
35installation directory and rename it to newserv.conf. The MODULES file
36has a list of available modules.
d1b8e200
GB
37
38After you have updated your newserv.conf file you can start newserv:
39
40$ ./newserv
41
42newserv does not detach from the console. Consider running it in a
43screen(1) session.
44
91e81150
GB
45Local Settings
46~~~~~~~~~~~~~
d1b8e200
GB
47
48If you are using non-standard library/include paths you can create a file
49called configure.ini.local (using configure.ini.local.example as a template)
50to override some of the settings.
51
52Workspaces
53~~~~~~~~~
54
91e81150
GB
55If you're planning to write your own modules you might consider using
56workspace.
d1b8e200
GB
57
58For this to work you will need to create a directory for your modules:
59
60$ mkdir custom
61
62Create a skeleton configure.ini in your new module directory:
63
64[modules]
65mymodule=
66
67And finally add your workspace to the workspaces.ini file:
68
69[workspaces]
70custom=
71
72You will need to re-run configure for it to pick up your new
73workspace and whatever modules you have in it.