You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2023/06/14 15:52:07 UTC
[superset] 17/18: fix: update order of build for testing a release (#24317)
This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a commit to tag 2.1.1rc1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit aad2c75551cad56afe54027364344bc173649352
Author: Elizabeth Thompson <es...@gmail.com>
AuthorDate: Thu Jun 8 16:30:39 2023 -0700
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 fb06a7f12c..9f1b0ef754 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 ae08b1878a..780df3311a 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
```