From fae3ad04620db4769da7546ffff5cab4431666b1 Mon Sep 17 00:00:00 2001 From: Govindarajan Date: Thu, 23 Mar 2023 03:03:21 +0530 Subject: [PATCH] docs(contributing): added note for creating SECRET_KEY (#23417) --- docs/docs/contributing/local-backend.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/contributing/local-backend.mdx b/docs/docs/contributing/local-backend.mdx index c832c1c47..36d4586fe 100644 --- a/docs/docs/contributing/local-backend.mdx +++ b/docs/docs/contributing/local-backend.mdx @@ -26,6 +26,8 @@ pip install -r requirements/testing.txt pip install -e . # Initialize the database +# Note: For generating a SECRET_KEY if you haven't done already, you can use the command: +# echo "SECRET_KEY='$(openssl rand -base64 42)'" | tee -a superset_config.py superset db upgrade # Create an admin user in your metadata database (use `admin` as username to be able to load the examples)