December 2018
Intermediate to advanced
188 pages
4h 2m
English
So, we have completed configuring Superset. Let's take a look at the complete Superset configuration file:
# Superset Configuration file# add file superset_config.py to PYTHONPATH for usage# Metadata databaseSQLALCHEMY_DATABASE_URI = "postgresql+psycopg2://superset:superset@localhost/superset"# Securing Session dataSECRET_KEY = 'AdLcixY34P' # random string# Caching QueriesCACHE_CONFIG = { # Specify the cache type 'CACHE_TYPE': 'redis', 'CACHE_REDIS_URL': 'redis://localhost:6379/0', # The key prefix for the cache values stored on the server 'CACHE_KEY_PREFIX': 'superset_results'}# Set this API key to enable Mapbox visualizations MAPBOX_API_KEY = os.environ.get('MAPBOX_API_KEY', 'mapbox-api-key')# Long running query ...
Read now
Unlock full access