mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15: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
|
||||
-------------------------
|
||||
|
||||
MongoDB needs text search enabled. Modify ``/etc/mongodb.conf``.
|
||||
Modify ``/etc/mongodb.conf``.
|
||||
|
||||
.. code::
|
||||
|
||||
# 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::
|
||||
|
||||
@@ -101,7 +100,7 @@ To setup the app, type:
|
||||
|
||||
$ 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 default port, unless you changed it in the previous steps.
|
||||
* Change your username to ``nodebb``, unless you set it to another username.
|
||||
|
||||
Reference in New Issue
Block a user