Node.js based forum software built for the modern web
updated readme to link to wiki page on running NodeBB
Julian Lamf91e0848ee44
diff --git a/README.md b/README.mdindex 30d2e567eb..dc87efac5b 100644--- a/README.md+++ b/README.md@@ -18,7 +18,7 @@ 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:**+**If your package manager only installed a version of Node.js that is less than 0.8 (e.g. Ubuntu 12.10, 13.04):**# add-apt-repository ppa:chris-lea/node.js# apt-get update && apt-get dist-upgrade@@ -43,6 +43,8 @@ Lastly, we run the forum.$ node app+NodeBB can also be started with helper programs, such as `supervisor` and `forever`. [Take a look at the options here](https://github.com/designcreateplay/NodeBB/wiki/How-to-run-NodeBB).+*(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\ No newline at end of filediff --git a/src/webserver.js b/src/webserver.jsindex aa56536f5d..5ec8b0a946 100644--- a/src/webserver.js+++ b/src/webserver.js@@ -292,7 +292,11 @@ var express = require('express'),app.get('/api/:method/:id*', api_method);app.all('/test', function(req, res) {- res.send();+ var RDB = require('./redis.js');+ RDB.lpush('administrators', 1, function(err, data) {+ // console.log(err, data);+ res.send();+ });});