To configure your application, you need to create a file spotrix_config.py and add it to your PYTHONPATH.
Here are some of the parameters you can set in that file:
# Spotrix basic configROW_LIMIT =10000SPOTRIX_WEBSERVER_PORT =8088# Flask App Builder configuration# Your App secret key will be used for securely signing the session cookie# and encrypting sensitive information on the database# Make sure you are changing this key for your deployment with a strong key.# You can generate a strong key using `openssl rand -base64 42`SECRET_KEY ='YOUR_OWN_RANDOM_GENERATED_SECRET_KEY'# The SQLAlchemy connection string to your database backend# This connection defines the path to the database that stores your# spotrix metadata (slices, connections, tables, dashboards, ...).# Note that the connection information to connect to the datasources# you want to explore are managed directly in the web UISQLALCHEMY_DATABASE_URI ='sqlite:////path/to/spotrix.db'# Flask-WTF flag for CSRFWTF_CSRF_ENABLED =True# Add endpoints that need to be exempt from CSRF protectionWTF_CSRF_EXEMPT_LIST = []# A CSRF token that expires in 1 yearWTF_CSRF_TIME_LIMIT =60*60*24*365# Set this API key to enable Mapbox visualizationsMAPBOX_API_KEY =''