Ensure that `/public/config.json` points to the publically accessible IP/hostname of your forum.
... and the server side config can be set up similarly:
$ cp config.default.js config.js
Ensure that `/public/config.json` points to the publically accessible IP/hostname of your forum, and that the values of the server side config are also set correctly (see below).
Lastly, we run the forum.
@ -23,16 +27,20 @@ Lastly, we run the forum.
## Server Configuration
The server configuration file (located at `/config.js`) contains default options required for the running of node-forum. The following options are available:
The server configuration file (located at `/config.js`) contains default options required for the running of NodeBB. The following options are available:
<table>
<tr>
<th>Option</th>
<th>Description</th>
</tr>
<tr>
<td><b>base_url</b></td>
<td><i>(Default: 'http://localhost')</i> A web-accessible URL to your app, without the port</td>
</tr>
<tr>
<td><b>port</b></td>
<td><i>(Default: 4567)</i> The default port that node-forum runs on</td>
<td><i>(Default: 4567)</i> The default port that NodeBB runs on</td>