From aaa6ff47acf5c0f65834610c819498100d1058ff Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Wed, 7 Jun 2023 16:54:35 -0700 Subject: [PATCH 1/2] fix order of build --- RELEASING/from_tarball_entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASING/from_tarball_entrypoint.sh b/RELEASING/from_tarball_entrypoint.sh index fcdfe86644884..9fe0516abb90b 100755 --- a/RELEASING/from_tarball_entrypoint.sh +++ b/RELEASING/from_tarball_entrypoint.sh @@ -32,11 +32,11 @@ superset fab create-admin \ # Initialize the database superset db upgrade -# Loading examples -superset load_examples - # Create default roles and permissions superset init +# Loading examples +superset load-examples + FLASK_ENV=development FLASK_APP="superset.app:create_app()" \ flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0 From 0b6555e8ed897fb1dc1c96471e2b3252eb101e2c Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Thu, 8 Jun 2023 16:15:42 -0700 Subject: [PATCH 2/2] update documentation --- docs/docs/contributing/testing-locally.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/contributing/testing-locally.mdx b/docs/docs/contributing/testing-locally.mdx index f238f053e4be1..f85e87b1fa3f8 100644 --- a/docs/docs/contributing/testing-locally.mdx +++ b/docs/docs/contributing/testing-locally.mdx @@ -93,8 +93,8 @@ export SUPERSET_TESTENV=true export CYPRESS_BASE_URL="http://localhost:8081" superset db upgrade superset load_test_users -superset load-examples --load-test-data superset init +superset load-examples --load-test-data superset run --port 8081 ```