mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
docs update
This commit is contained in:
@@ -73,14 +73,13 @@ To add a user to access the `nodebb` database, type:
|
|||||||
|
|
||||||
Step 7: Configure MongoDB
|
Step 7: Configure MongoDB
|
||||||
-------------------------
|
-------------------------
|
||||||
|
Modify ``/etc/mongodb.conf``.
|
||||||
MongoDB needs text search enabled. Modify ``/etc/mongodb.conf``.
|
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
# nano /etc/mongodb.conf
|
# nano /etc/mongodb.conf
|
||||||
|
|
||||||
Add ``setParameter=textSearchEnabled=true`` to the end. Also, to enable authentication, uncomment ``auth = true``. Restart MongoDB.
|
To enable authentication, uncomment ``auth = true``. Restart MongoDB.
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
@@ -101,7 +100,7 @@ To setup the app, type:
|
|||||||
|
|
||||||
$ node app --setup
|
$ node app --setup
|
||||||
|
|
||||||
* Change the hostname to your domain name.
|
* Change the hostname to your domain name.
|
||||||
* Accept the defaults by pressing enter until it asks you what database you want to use. Type ``mongo`` in that field.
|
* Accept the defaults by pressing enter until it asks you what database you want to use. Type ``mongo`` in that field.
|
||||||
* Accept the default port, unless you changed it in the previous steps.
|
* Accept the default port, unless you changed it in the previous steps.
|
||||||
* Change your username to ``nodebb``, unless you set it to another username.
|
* Change your username to ``nodebb``, unless you set it to another username.
|
||||||
|
|||||||
Reference in New Issue
Block a user