Superset is an open source Business Intelligence (BI) tool that allows you to analyze data and create interactive visualizations. In this tutorial, we will walk through the steps to install Superset on Windows 10.
Superset is a Python application, so the first thing you need to do is install Python on your machine. Go to the Python website and download the latest version of Python 3. We recommend using version 3.6 or higher.
Superset requires some dependencies to be installed before you can install it. To install these dependencies, you can use the following command in the command prompt:
python -m pip install -U setuptools pip
To install Superset, you can use the following command in the command prompt:
pip install apache-superset
This will install all the required dependencies for Superset.
After installation, you need to create a Superset folder where you'll keep your configuration files. We'll call this folder superset_home
. Create this folder in your preferred location, and inside it create a new file called superset_config.py
.
Open the superset_config.py
file and add the following code:
#---------------------------------------------------------
# Superset specific config
#---------------------------------------------------------
# ROW_LIMIT = 5000
SUPERSET_WEBSERVER_PORT = 8088
#---------------------------------------------------------
# Flask App Builder configuration
#---------------------------------------------------------
# Uncomment to setup Flask App Builder security (used when accessing the app)
# SECURITY_POST_LOGIN_VIEW = '/superset/welcome/'
# SECURITY_POST_LOGOUT_VIEW = '/superset/home/'
#---------------------------------------------------------
# Flask session configuration
#---------------------------------------------------------
SECRET_KEY = 'thisismysecretkey'
Save and close the superset_config.py
file.
Superset uses a database to store metadata about your visualization. To initialize the database, run the following command in the command prompt:
superset db upgrade
You need an admin user to log in to Superset. To create an admin user, run the following command in the command prompt:
superset fab create-admin
Follow the prompts to create the admin user.
Finally, you can start the Superset server with the following command:
superset runserver
This will start the Superset server on port 8088
. Open your web browser and go to localhost:8088
to access Superset.
Congratulations! You have successfully installed and configured Superset on Windows 10. You can now use it to analyze data and create interactive visualizations.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!