|
|
13 years ago | |
|---|---|---|
| feeds | 13 years ago | |
| install/data | 13 years ago | |
| public | 13 years ago | |
| src | 13 years ago | |
| .gitignore | 13 years ago | |
| .project | 13 years ago | |
| LICENSE | 13 years ago | |
| README.md | 13 years ago | |
| app.js | 13 years ago | |
| nodebb | 13 years ago | |
| package.json | 13 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 nodejs driven forum built on a redis database. It is powered by web sockets, and is compatible down to IE8.
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. build-essential is required as it exposes the build environment for bcrypt compilation, we won't be compiling anything manually.
# apt-get install git nodejs redis-server npm build-essential
$ cd /path/to/nodebb/install/location
$ git clone git://github.com/designcreateplay/NodeBB.git nodebb
Next, 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

