You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/README.md

52 lines
1.8 KiB
Markdown

# node-forum
12 years ago
**node-forum** is a robust nodejs driven forum built on a redis database. It is powered by web sockets, and is compatible down to IE8.
## Installation
First step is to obtain all of the dependencies requires by node-forum:
$ npm install
12 years ago
12 years ago
*(Optional)* Next, we install redis. If you already have redis installed, you can skip this step.
# apt-get install redis
12 years ago
Now we ensure that the configuration files are properly set up. node-forum runs on port 4567 by default. The client side config can be set up thusly:
$ cp public/config.default.json public/config.json
Ensure that `/public/config.json` points to the publically accessible IP/hostname of your forum.
Lastly, we run the forum.
$ node app
12 years ago
## Server Configuration
12 years ago
The server configuration file (located at `/config.js`) contains default options required for the running of node-forum. The following options are available:
<table>
<tr>
<th>Option</th>
<th>Description</th>
</tr>
<tr>
<td><b>port</b></td>
<td><i>(Default: 4567)</i> The default port that node-forum runs on</td>
</tr>
<tr>
<td><b>mailer</b></td>
<td>
<i>(Default: {<br />
&nbsp;&nbsp;&nbsp;&nbsp;host: 'localhost',<br />
&nbsp;&nbsp;&nbsp;&nbsp;port: '25',<br />
&nbsp;&nbsp;&nbsp;&nbsp;from: 'mailer@localhost.lan'<br />
})</i><br />
Settings for the outgoing mailer (for emails involving user registration/password resets)
</td>
</tr>
12 years ago
</table>
## Client Configuration
As the client will utilise web sockets to connect to the server, you'll need to customise the client configuration file (located at `/public/config.json`) to point to your server's publically accessible IP. The port will be identical to the port specified in the server-side configuration (defaulted to `4567`).