This topic describes how to prepare the test environment before you test the compatibility of Superset with AnalyticDB for MySQL.

Procedure

  1. Install Docker.

    Click here to download Docker. Set the memory to 8 GB when you install Docker.

    Install Docker
  2. Run the following command to install Superset:
    git clone https://github.com/apache/incubator-superset/
    cd incubator-superset/contrib/docker
    # You must use sudo for the following command. Wait until the following command is complete:
    sudo docker-compose run --rm superset ./docker-init.sh

    Click here to download Superset. For more information, visit the official Superset website.

  3. Run the following command to start Superset. After Superset is started, log on to http://localhost:8080.
    # Start Superset.
    docker-compose up
    Logon
  4. Enable data manipulation language (DML) statements in Superset.
    Enable DML statements