From aad2c75551cad56afe54027364344bc173649352 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 fb06a7f12cbed..9f1b0ef7547d0 100755 --- a/RELEASING/from_tarball_entrypoint.sh +++ b/RELEASING/from_tarball_entrypoint.sh @@ -35,11 +35,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 ae08b1878a13f..780df3311ad94 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 ```