You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2019/12/08 00:09:27 UTC
[incubator-superset] branch master updated: fix create-admin (#8787)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new d3f7fda fix create-admin (#8787)
d3f7fda is described below
commit d3f7fda778b3153fde8234ed085040e2eb9c5adb
Author: Hossein Torabi <ho...@alopeyk.com>
AuthorDate: Sun Dec 8 03:39:14 2019 +0330
fix create-admin (#8787)
---
CONTRIBUTING.md | 2 +-
RELEASING/from_tarball_entrypoint.sh | 2 +-
docker/docker-init.sh | 2 +-
docs/installation.rst | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4972ca1..eaf56f1 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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
diff --git a/RELEASING/from_tarball_entrypoint.sh b/RELEASING/from_tarball_entrypoint.sh
index 393b5cf..75d92bf 100755
--- a/RELEASING/from_tarball_entrypoint.sh
+++ b/RELEASING/from_tarball_entrypoint.sh
@@ -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 \
diff --git a/docker/docker-init.sh b/docker/docker-init.sh
index b2a6d39..46bb5fc 100755
--- a/docker/docker-init.sh
+++ b/docker/docker-init.sh
@@ -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 \
diff --git a/docs/installation.rst b/docs/installation.rst
index 2199494..e9b8cbd 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -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