Skip to content

Commit

Permalink
Update and fix docs install db & config
Browse files Browse the repository at this point in the history
Updating config possibilities information and fixing formatting in database section of install.
  • Loading branch information
MarekSuchanek committed Feb 5, 2017
1 parent 7f29d3e commit 1aa3ba0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/install/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ Names of variables are case insensitive. Configuration can be in separate
configuration files but if there are same variables within same sections
there will overriding depending on the order of files.

Default config file can be also specified with environment variable:

::

$ export REPOCRIBRO_CONFIG_FILE='/path/to/config.cfg'
$ python
Python 3.5.2 (default, Oct 14 2016, 12:54:53)
[GCC 6.2.1 20160916 (Red Hat 6.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from repocribro.app import app
>>> app.run()

Application
-----------

Expand Down
2 changes: 1 addition & 1 deletion docs/install/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ by `Flask-Migrate`_:
$ repocribro db --help


Or you can use standard `SQLAlchemy procedure`_ ``db.create_all()``via:
Or you can use standard `SQLAlchemy procedure`_ ``db.create_all()`` via:

::

Expand Down

0 comments on commit 1aa3ba0

Please sign in to comment.