pip install virtualenv

 

On Ubuntu 22.04

pip install flask==2.2.5

pip install apache-superset

export FLASK_APP=superset
export SUPERSET_SECRET_KEY="oh-so-secret"

superset db upgrade

superset fab create-admin

superset load_examples (Optional)

# 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 -p 8088 --with-threads --reload --debugger

To install mysql as database:

sudo apt-get install python3-dev default-libmysqlclient-dev build-essential

pip install mysqlclient

 

Nginx server will not support larger file uploads so increase this limit here: https://stackoverflow.com/questions/24306335/413-request-entity-too-large-file-upload-issue