mirror of
https://github.com/apache/superset.git
synced 2024-09-13 00:59:37 -04:00
02aa3c6395
- Improve Docker image - smaller - faster to build - deterministict dependencies (see #5958) - Rework process to simplify setting things up - updated documentation - less commands to type - no files to move and modify - optional loading of samples - Still working in standalone mode (without volumes for superset)
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
|