异世界红茶馆的源码
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.
 
 
 
 
psychobunny db8140a1b6 Merge branch 'master' of https://github.com/psychobunny/node-forum 12 years ago
public Merge branch 'master' of https://github.com/psychobunny/node-forum 12 years ago
src changing socket.io to exist on the same port as the server, made config file template (removed config file from repo) 12 years ago
.gitignore changing socket.io to exist on the same port as the server, made config file template (removed config file from repo) 12 years ago
README.md more tweaks to readme 12 years ago
app.js init, just some testing 12 years ago
config.js optimizing for express, tweaks to config file 12 years ago
package.json init, just some testing 12 years ago

README.md

node-forum

node-forum is a robust nodejs driven forum built on a redis database.

Installation

First step is to obtain all of the dependencies requires by node-forum:

$ npm install

Next, we install redis. If you have redis installed, you can skip this step.

# apt-get install redis

Lastly, we run the forum.

$ 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:

Option Description
port (Default: 4567) The default port that node-forum runs on
mailer (Default: {
    host: 'localhost',
    port: '25',
    from: 'mailer@localhost.lan'
})

Settings for the outgoing mailer (for emails involving user registration/password resets)