I'm currently in the process of rewriting it to typescript since it uses js script (nikelborm/fetch-github-folder) anyway
- curl (for loading scripts and compose files)
- openssl (for automatic password generation)
- node (You can install it easily using NVM)
- docker (for running superset)
curl https://raw.githubusercontent.com/nikelborm/apache-superset-quick-init/refs/heads/main/main.sh | bash
cd ./superset
# To generate passwords you can use `openssl rand -base64 48`.
# Passwords are auto-generated by default in ./main.sh, so you don't need to generate them manually.
# If you need to edit some unusual vars, uncomment those commands to edit them
# nano ./docker/.env
# nano ./docker/superset-websocket/config.json
# Choose the tag you want: 'latest' or something specific like '4.1.1'
# here are examples of tags:
# https://superset.apache.org/docs/installation/docker-builds/#key-tags-examples
# https://github.com/apache/superset/blob/master/CHANGELOG.md
# https://github.com/apache/superset/releases
export TAG='latest'
# If use choose `latest`, good idea to always pull
# docker compose up -d --pull always
docker compose up -d
# Follow logs until completely deployed
docker compose logs -f
- create a separate script for quick registering of a new database into a newly created Superset instance