From 50533eda264649d3320335c5a30a4046689d51a4 Mon Sep 17 00:00:00 2001 From: Kharec Date: Tue, 11 Nov 2025 05:03:36 +0100 Subject: [PATCH] docs: update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1bd23a5..d213917 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ pip install -r requirements.txt # 3. Set environment variables for Flask export FLASK_APP=flado.app:create_app -export FLASK_DEBUG=1 +export FLASK_ENV=development # 4. Initialize the SQLite database (instance/flado.sqlite by default) flask db init @@ -42,7 +42,7 @@ The SQLite database file is stored in the `instance/` directory (it remains outs Environment variables can tweak runtime behavior: -- `FLASK_DEBUG`: Set to `1`, `true`, `yes` to enable debug mode (development mode). When not set or set to any other value, production mode is enabled. +- `FLASK_ENV`: Set to `development` or `production`. - `FLADO_DATABASE_URI`: Override the default SQLite path (`sqlite:///instance/flado.sqlite`). - `FLADO_SECRET_KEY`: Provide a secret key for session cookies. - `FLADO_THEME`: Switch between built-in themes such as `light`, `dark`, or `auto`.