异世界红茶馆的源码
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.
 
 
 
 
Julian Lam d0e5938788 merging in Peter Cellik's changes to allow NodeBB to work with a passworded Redis store. Fixes #11 12 years ago
feeds figured it out. .gitignore can ignore itself, derp. - real commit: gitignore for feeds. 12 years ago
install/data categories.json updated with fixed github logo + new category to replace duplicate bug reports cat 12 years ago
public removed debug statements, adding missing file re: issue #3 12 years ago
src merging in Peter Cellik's changes to allow NodeBB to work with a passworded Redis store. Fixes #11 12 years ago
.gitignore updating social login icons to use font-awesome equivalents instead of (possibly) proprietary icons 12 years ago
.project log server errors in browser 12 years ago
LICENSE Resolving issue #2 -- added GPLv3 license file and updated package.json 12 years ago
README.md added imagemagick to the installation instructions (re: issue #4) 12 years ago
app.js merging in Peter Cellik's changes to allow NodeBB to work with a passworded Redis store. Fixes #11 12 years ago
nodebb new header for meta title 12 years ago
package.json Resolving issue #2 -- added GPLv3 license file and updated package.json 12 years ago

README.md

Please support NodeBB development! Check out our IndieGoGo campaign and like, share, and follow us :) NodeBB Homepage # IndieGoGo campaign # Follow on Twitter # Like us on Facebook

NodeBB

NodeBB is a robust Node.js driven forum built on a redis database. It is powered by web sockets, and is compatible down to IE8.

NodeBB Screenshot

NodeBB Login Page (with Social Logins)

Requirements

NodeBB requires a version of Node.js at least 0.8 or greater, and a Redis version 2.6 or greater.

Installation

First, we install our base software stack:

# apt-get install git nodejs redis-server npm build-essential imagemagick

If your package manager only installed a version of Node.js that is less than 0.8:

# add-apt-repository ppa:chris-lea/node.js
# apt-get update && apt-get dist-upgrade

Next, clone this repository:

$ cd /path/to/nodebb/install/location
$ git clone git://github.com/designcreateplay/NodeBB.git nodebb

Obtain all of the dependencies required by NodeBB:

$ cd nodebb
$ npm install

Initiate the setup script by running the app with the --setup flag:

$ node app --setup

The default settings are for a local server running on the default port, with a redis store on the same machine/port.

Lastly, we run the forum.

$ node app

(Optional) Some server configurations may install the node binary as nodejs instead of node. You can re-map it (so as to not break compatibility with node-supervisor) by running the following command:

# update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10