fix create-admin (#8787)

This commit is contained in:
Hossein Torabi 2019-12-08 03:39:14 +03:30 committed by Maxime Beauchemin
parent b053d66ea7
commit d3f7fda778
4 changed files with 4 additions and 4 deletions

View File

@ -353,7 +353,7 @@ pip install -r requirements-dev.txt
pip install -e .
# Create an admin user in your metadata database
flask fab create-admin
superset fab create-admin
# Initialize the database
superset db upgrade

View File

@ -21,7 +21,7 @@ echo "[WARNING] this entrypoint creates an admin/admin user"
echo "[WARNING] it should only be used for lightweight testing/validation"
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
flask fab create-admin \
superset fab create-admin \
--username admin \
--firstname admin \
--lastname admin \

View File

@ -35,7 +35,7 @@ EOF
# Create an admin user
echo_step "1" "Starting" "Setting up admin user"
flask fab create-admin \
superset fab create-admin \
--username admin \
--firstname Superset \
--lastname Admin \

View File

@ -178,7 +178,7 @@ Follow these few simple steps to install Superset.::
# Create an admin user (you will be prompted to set a username, first and last name before setting a password)
$ export FLASK_APP=superset
flask fab create-admin
superset fab create-admin
# Load some data to play with
superset load_examples