# virtualenv is shipped in Python 3.6+ as venv instead of pyvenv. # See https://docs.python.org/3.6/library/venv.html python3 -m venv superset-env . superset-env/bin/activate pip install apache_superset
export SUPERSET_SECRET_KEY=YOUR-SECRET-KEY # For production use, make sure this is a strong key, for example generated using `openssl rand -base64 42`. See https://superset.apache.org/admin-docs/configuration/configuring-superset#specifying-a-secret_key export FLASK_APP=superset
# initialize the database: superset db upgrade
# Create an admin user in your metadata database (use `admin` as username to be able to load the examples) superset fab create-admin
# Load some data to play with superset load_examples
# Create default roles and permissions superset init
# To start a development web server on port 8088, use -p to bind to another port superset run -h 10.x.x.x -p 8091 --with-threads --reload --debugger