Last active
December 18, 2022 15:58
-
-
Save garystafford/0104c352a8b827e31b6b2f2fa3d27559 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# establish an interactive session with the superset container | |
SUPERSET_CONTAINER=$(docker container ls --filter name=streaming-stack_superset.1 --format "{{.ID}}") | |
# initialize superset (see superset documentation) | |
docker exec -it ${SUPERSET_CONTAINER} \ | |
superset fab create-admin \ | |
--username admin \ | |
--firstname Superset \ | |
--lastname Admin \ | |
--email admin@superset.com \ | |
--password sUp3rS3cREtPa55w0rD1 | |
docker exec -it ${SUPERSET_CONTAINER} superset db upgrade | |
docker exec -it ${SUPERSET_CONTAINER} superset init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment