Skip to content

Commit

Permalink
Update databases.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Dec 21, 2015
1 parent 0d8e762 commit 38bd578
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions configuring/databases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,8 @@ NodeBB has a Database Abstraction Layer (DBAL) that allows one to write drivers

* Redis (default, see :doc:`installation guides <../installing/os>`)
* :doc:`Mongo <databases/mongo>`
* :doc:`Level <databases/level>`

.. note::

If you would like to write your own database driver for NodeBB, please visit our `community forum <https://community.nodebb.org>`_ and we can point you in the right direction.


Running a Secondary Database
----------------------------


.. warning::

**This option is experimental and should not be used on a production environment.**


Both databases **must** be flushed before beginning - there isn't a mechanism yet that detects an existing installation on one database but not another. Until fail-safe's such as these are implemented this option is hidden under the ``--advanced`` setup flag.

.. code:: bash
node app --setup --advanced
Consult the other database guides for instructions on how to set up each specific database. Once you select a secondary database's modules, there's no turning back - until somebody writes an exporter/importer.

Currently this setup is being tested with Redis as the primary store (sets, lists, and sorted sets, because Redis is super fast with these), and Mongo as the hash store (post and user data, because ideally we wouldn't want this in RAM).

0 comments on commit 38bd578

Please sign in to comment.