mirror of
https://git.0x0.st/mia/0x0.git
synced 2025-04-19 14:53:02 +02:00
Update the README to reflect the existence of the config file
This commit is contained in:
parent
86d9ba5487
commit
da2357183c
1 changed files with 6 additions and 6 deletions
12
README.rst
12
README.rst
|
@ -7,13 +7,13 @@ This is a no-bullshit file hosting and URL shortening service that also runs
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
To configure 0x0, create ``instance/config.py``.
|
To configure 0x0, edit ``instance/config.py``. Resonable defaults are set,
|
||||||
The defaults are at the start of ``fhost.py``. To change them,
|
but there's a couple options you'll need to change before running 0x0 for the
|
||||||
add them to ``instance/config.py``— for example::
|
first time.
|
||||||
|
|
||||||
SQLALCHEMY_DATABASE_URI = "sqlite:///some/path/db.sqlite"
|
By default, the configuration is stored in the Flask instance directory.
|
||||||
|
Normally, this is in `./instance`, but it might be different for your system.
|
||||||
For more information on instance configuration, see
|
For details, see
|
||||||
`the Flask documentation <https://flask.palletsprojects.com/en/2.0.x/config/#instance-folders>`_.
|
`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
|
To customize the home and error pages, simply create a ``templates`` directory
|
||||||
|
|
Loading…
Add table
Reference in a new issue