]> jfr.im git - irc/quakenet/newserv.git/blame - INSTALL
Remove obsolete note about creating the data directory.
[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
d1b8e200
GB
30$ ln -s ../newserv-src/newserv
31$ ln -s ../newserv-src/modules
32
33You will also need to copy the newserv.conf.example configuration file to your
e7b7b171
GB
34installation directory and rename it to newserv.conf. The MODULES file
35has a list of available modules.
d1b8e200
GB
36
37After you have updated your newserv.conf file you can start newserv:
38
39$ ./newserv
40
41newserv does not detach from the console. Consider running it in a
42screen(1) session.
43
91e81150
GB
44Local Settings
45~~~~~~~~~~~~~
d1b8e200
GB
46
47If you are using non-standard library/include paths you can create a file
48called configure.ini.local (using configure.ini.local.example as a template)
49to override some of the settings.
50
51Workspaces
52~~~~~~~~~
53
91e81150
GB
54If you're planning to write your own modules you might consider using
55workspace.
d1b8e200
GB
56
57For this to work you will need to create a directory for your modules:
58
59$ mkdir custom
60
61Create a skeleton configure.ini in your new module directory:
62
63[modules]
64mymodule=
65
66And finally add your workspace to the workspaces.ini file:
67
68[workspaces]
69custom=
70
71You will need to re-run configure for it to pick up your new
72workspace and whatever modules you have in it.