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 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 ```