You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2025/08/22 00:10:27 UTC
(superset) 01/01: update llm doc with feature flag instructions
This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a commit to branch elizabeth/update-llm-doc
in repository https://gitbox.apache.org/repos/asf/superset.git
commit c6756d9ac50bc282044aeff640ea115072437fae
Author: Elizabeth Thompson <es...@gmail.com>
AuthorDate: Thu Aug 21 17:10:06 2025 -0700
update llm doc with feature flag instructions
---
LLMS.md | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/LLMS.md b/LLMS.md
index d979f085f8..888e3aec8b 100644
--- a/LLMS.md
+++ b/LLMS.md
@@ -187,6 +187,26 @@ pre-commit run eslint # Frontend linting
- **[GPT.md](GPT.md)** - For OpenAI/ChatGPT tools
- **[.cursor/rules/dev-standard.mdc](.cursor/rules/dev-standard.mdc)** - For Cursor editor
+## Local Configuration
+
+### Feature Flags & Settings
+Always use git-ignored config files instead of modifying core files:
+
+**For Docker deployments** (check with `docker ps` or `docker-compose ps`):
+- **Config file**: `docker/pythonpath_dev/superset_config_docker.py` (auto-imported)
+- **Pattern**: Copy `superset_config_local.example` to `superset_config_docker.py`
+- **Git status**: Ignored by `docker/*local*` pattern
+- **Restart**: `docker-compose down && docker-compose up` (or your Docker management tool)
+
+**For Flask/local deployments**:
+- **Config file**: `superset_config.py` (in project root, auto-imported)
+- **Git status**: Ignored by `/superset_config.py` pattern
+- **Restart**: Restart Flask development server
+
+**Both methods**:
+- **Add feature flags**: `FEATURE_FLAGS = {"ENABLE_THEME_EDITOR": True}`
+- **Check deployment**: Use `docker ps` to see if containers are running
+
---
**LLM Note**: This codebase is actively modernizing toward full TypeScript and type safety. Always run `pre-commit run` to validate changes. Follow the ongoing refactors section to avoid deprecated patterns.