mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
updated README to reflect proper installation commands
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
NodeBB is powered by Node.js with a Redis database. They must be installed prior in order for NodeBB to work.
|
||||
|
||||
# apt-get install nodejs redis
|
||||
# apt-get install nodejs redis-server npm
|
||||
|
||||
Next, obtain all of the dependencies required by NodeBB:
|
||||
|
||||
@@ -25,6 +25,10 @@ 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
|
||||
|
||||
## Server Configuration
|
||||
|
||||
The server configuration file (located at `/config.js`) contains default options required for the running of NodeBB. The following options are available:
|
||||
|
||||
Reference in New Issue
Block a user