Ubuntu

First, we install our base software stack:

$ sudo apt-get install git nodejs redis-server imagemagick npm

If you want to use MongoDB, LevelDB, or another database instead of Redis please look at the Configuring Databases section.

If your package manager only installed a version of Node.js that is less than 0.8 (e.g. Ubuntu 12.10, 13.04), use ``node –version`` to determine your version of Node.js:

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

Next, clone this repository:

$ git clone git://github.com/NodeBB/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:

$ ./nodebb 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.

$ ./nodebb start

NodeBB can also be started with helper programs, such as supervisor and forever. Take a look at the options here.