Update the README to reflect the existence of the config file

This commit is contained in:
Ember Hearth 2022-11-26 23:01:38 -05:00
parent 86d9ba5487
commit 103993c7a0
1 changed files with 5 additions and 6 deletions

View File

@ -7,13 +7,12 @@ This is a no-bullshit file hosting and URL shortening service that also runs
To configure 0x0, create ``instance/config.py``.
The defaults are at the start of ``fhost.py``. To change them,
add them to ``instance/config.py``— for example::
To configure 0x0, edit ``instance/config.py``. Resonable defaults are set,
but there's a couple options you'll need to change before running 0x0 for the
first time.
SQLALCHEMY_DATABASE_URI = "sqlite:///some/path/db.sqlite"
For more information on instance configuration, see
By default, the configuration is stored in the Flask instance directory. For
information on where this is for your system, see
`the Flask documentation <https://flask.palletsprojects.com/en/2.0.x/config/#instance-folders>`_.
To customize the home and error pages, simply create a ``templates`` directory