From af8f7253e161eae593934506c57d96333627d0fb Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Thu, 8 Jun 2023 16:30:39 -0700 Subject: [PATCH] fix: update order of build for testing a release (#24317) --- RELEASING/from_tarball_entrypoint.sh | 6 +++--- docs/docs/contributing/testing-locally.mdx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/RELEASING/from_tarball_entrypoint.sh b/RELEASING/from_tarball_entrypoint.sh index fcdfe8664..9fe0516ab 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 diff --git a/docs/docs/contributing/testing-locally.mdx b/docs/docs/contributing/testing-locally.mdx index f238f053e..f85e87b1f 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 ```