Superset Documentation
Superset Documentation
How to install
Installation requirements :
Create folder for installing superset and go to that folder using cmd
python -m venv venv
Activate virtual environment
venv\Scripts\activate
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py --ssl-no-revoke
Should be like this
pip install --upgrade setuptools pip
Install Apache Superset
pip install apache-superset
pip install psycopg2
Open Scripts folder and use command superset db upgrade
cd venv/Scripts
superset db upgrade
set FLASK_APP=superset
flask fab create-admin
Create MAPBOX account (account.mapbox.com) and use default public token
AUTH_ROLE_PUBLIC
WTF_CSRF_ENABLED
PUBLIC_ROLE_LIKE
Load data
superset load_examples
Create default roles and permission
superset init
superset run -p 8088 --with-threads --reload --debugger
Superset Web Application
After server is running open local host as your superset port run in (example: http://127.0.0.1:8088/)
Press EXPLORE and you can change how you want to visualize your data by clicking visualization type
After that you can choose how you want to aggregate your data by editing the metrics and series, also you can
customized how you want to show your data in charts, run the query and see results:
Save your chart as you create new Dashboard for your project:
And your project Dashboard will show, here you can add more charts and edit position, also CSS for extra
customization. Have fun.
Avner