docs(contributing): added note for creating SECRET_KEY (#23417)

This commit is contained in:
Govindarajan 2023-03-23 03:03:21 +05:30 committed by GitHub
parent 499754a52e
commit fae3ad0462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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)