From 32118c2cc82728b705c0957cedf73c61c8af204b Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Mon, 28 Nov 2022 11:55:02 -0500 Subject: [PATCH] Move the default config to a .example.py file --- README.rst | 6 +++--- instance/{config.py => config.example.py} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename instance/{config.py => config.example.py} (100%) diff --git a/README.rst b/README.rst index 7bc0d88..f13167c 100644 --- a/README.rst +++ b/README.rst @@ -7,9 +7,9 @@ This is a no-bullshit file hosting and URL shortening service that also runs Configuration ------------- -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. +To configure 0x0, copy ``instance/config.example.py`` to ``instance/config.py``, then edit +it. Resonable defaults are set, but there's a couple options you'll need to change +before running 0x0 for the first time. By default, the configuration is stored in the Flask instance directory. Normally, this is in `./instance`, but it might be different for your system. diff --git a/instance/config.py b/instance/config.example.py similarity index 100% rename from instance/config.py rename to instance/config.example.py