Skip to content

Commit

Permalink
Fix the path of the configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavien committed Jul 11, 2016
1 parent bc6e4e7 commit afa27c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/general/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Openchain Server Configuration
==============================

The configuration of Openchain server is handled through a JSON file named `config.json`. The file is stored under the ``wwwroot/App_Data`` folder.
The configuration of Openchain server is handled through a JSON file named `config.json`. The file is stored under the ``data`` folder.

It is possible to override a configuration value through environment variables. The name of the variable should be the concatenation of all the components of the path, separated by the character ``:``. For example: ``validator_mode:validator:allow_third_party_assets``.

Expand Down
4 changes: 2 additions & 2 deletions docs/source/general/running-openchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Install the `.NET Command Line Interface <https://www.microsoft.com/net/core>`_
Download the project files
--------------------------

Download the ``project.json`` file and ``config.json`` files from GitHub, then restore the NuGet dependencies. On Linux:
Download the ``project.json``, ``Program.cs`` and ``config.json`` files from GitHub, then restore the NuGet dependencies. On Linux:

.. code-block:: bash
Expand Down Expand Up @@ -57,7 +57,7 @@ The dependencies section of the ``project.json`` file references the external pr
By defaut, this imports the Sqlite storage engine (``Openchain.Sqlite``), the SQL Server storage engine (``Openchain.SqlServer``), the permission-based validation module (``Openchain.Validation.PermissionBased``), and the Blockchain anchoring module (``Openchain.Anchoring.Blockchain``). Update this list with the modules (and versions) you want to import.

You can then edit the ``Webroot/App_Data/config.json`` file to reference the :ref:`providers you want to use <configuration>`.
You can then edit the ``data/config.json`` file to reference the :ref:`providers you want to use <configuration>`.

.. tip:: For example, if you want to use the ``SQLite`` provider as a storage engine, you will need to make sure the ``Openchain.Sqlite`` module is listed in the dependencies.

Expand Down

0 comments on commit afa27c7

Please sign in to comment.