setting up config file for use in app, updated readme
parent
efa0649081
commit
a2d727dd86
@ -1,6 +1,23 @@
|
||||
Installation
|
||||
# node-forum
|
||||
**node-forum** is a robust nodejs driven forum built on a redis database.
|
||||
|
||||
1. npm install
|
||||
## Installation
|
||||
|
||||
2. sudo node app
|
||||
1. `$ npm install`
|
||||
|
||||
2. `node app`
|
||||
|
||||
## Config
|
||||
|
||||
node-forum is pre-configured to run on port 4567, with default options defined in config.json. 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>
|
||||
</table>
|
@ -0,0 +1,5 @@
|
||||
var config = {
|
||||
"port": 4567
|
||||
}
|
||||
|
||||
module.exports = config;
|
Loading…
Reference in New Issue