Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikelborm/apache-superset-quick-init
https://github.com/nikelborm/apache-superset-quick-init
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikelborm/apache-superset-quick-init
- Owner: nikelborm
- Created: 2023-12-05T02:34:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-25T23:04:58.000Z (14 days ago)
- Last Synced: 2024-12-25T23:22:30.122Z (14 days ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apache-superset-quick-init
[![Release Workflow](https://github.com/nikelborm/apache-superset-quick-init/actions/workflows/main.yml/badge.svg)](https://github.com/nikelborm/apache-superset-quick-init/actions/workflows/main.yml)
I'm currently in the process of rewriting it to typescript since it uses js script ([nikelborm/fetch-github-folder](https://github.com/nikelborm/fetch-github-folder/)) anyway
## Dependencies
1. curl (for loading scripts and compose files)
2. openssl (for automatic password generation)
3. node (You can install it easily using [NVM](https://github.com/nvm-sh/nvm))
4. docker (for running superset)## How to use
```bash
curl https://raw.githubusercontent.com/nikelborm/apache-superset-quick-init/refs/heads/main/main.sh | bashcd ./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/releasesexport 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
```## TODO
1. create a separate script for quick registering of a new database into a newly created Superset instance