2013-06-18 14:16:44 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Please support NodeBB development! Check out our IndieGoGo campaign and like, share, and follow us :)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[NodeBB Homepage ](http://www.nodebb.org/ "NodeBB" ) # [IndieGoGo campaign ](https://www.indiegogo.com/projects/nodebb-the-discussion-platform-of-the-future/ "IndieGoGo" ) # [Follow on Twitter ](http://www.twitter.com/NodeBB/ "NodeBB Twitter" ) # [Like us on Facebook ](http://www.facebook.com/NodeBB/ "NodeBB Facebook" )
							 
						 
					
						
							
								
									
										
										
										
											2013-06-18 14:12:19 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-04-23 16:51:39 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# NodeBB
  
						 
					
						
							
								
									
										
										
										
											2013-06-19 16:00:19 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								**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.
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 16:51:32 +00:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-05-23 21:06:56 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Requirements
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								NodeBB requires a version of Node.js at least 0.8 or greater, and a Redis version 2.6 or greater.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 14:16:24 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Installation
  
						 
					
						
							
								
									
										
										
										
											2013-04-22 16:51:32 +00:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-05-23 21:06:56 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								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.
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 16:51:32 +00:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-05-23 21:06:56 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									# apt-get install git nodejs redis-server npm build-essential
							 
						 
					
						
							
								
									
										
										
										
											2013-06-19 16:00:19 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								**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:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-05-23 21:06:56 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
									$ cd /path/to/nodebb/install/location
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									$ git clone git://github.com/designcreateplay/NodeBB.git nodebb
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 14:20:50 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-06-19 16:00:19 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Obtain all of the dependencies required by NodeBB:
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 14:45:33 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-05-23 21:06:56 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    $ cd nodebb
							 
						 
					
						
							
								
									
										
										
										
											2013-04-27 21:54:25 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    $ npm install
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 14:45:33 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-06-17 08:30:45 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Initiate the setup script by running the app with the `--setup`  flag:
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 15:40:53 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-06-17 08:30:45 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    $ node app --setup
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 15:40:53 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-06-17 08:30:45 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The default settings are for a local server running on the default port, with a redis store on the same machine/port.
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 15:40:53 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 14:45:33 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Lastly, we run the forum.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    $ node app
							 
						 
					
						
							
								
									
										
										
										
											2013-04-22 14:16:24 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-04-29 11:10:09 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								*(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:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2013-06-05 13:34:44 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    # update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10