mirror of https://github.com/apache/superset.git
18 lines
391 B
Bash
Executable File
18 lines
391 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
|
|
fabmanager create-admin --app superset
|
|
|
|
# Initialize the database
|
|
superset db upgrade
|
|
|
|
if [ "$SUPERSET_LOAD_EXAMPLES" = "yes" ]; then
|
|
# Load some data to play with
|
|
superset load_examples
|
|
fi
|
|
|
|
# Create default roles and permissions
|
|
superset init
|