From 2f6c4d5268e3a529596819292fef5527c16b117f Mon Sep 17 00:00:00 2001 From: hughhhh Date: Wed, 17 Nov 2021 17:29:48 -0500 Subject: [PATCH 1/2] update make file --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7066bdccee67..5b2f32a21f62d 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,12 @@ superset: pip install -e . # Create an admin user in your metadata database - superset fab create-admin + superset fab create-admin \ + --username admin \ + --firstname Admin \ + --lastname Strator \ + --email admin@apache.org \ + --password admin # Initialize the database superset db upgrade @@ -67,7 +72,7 @@ venv: . venv/bin/activate activate: - source venv/bin/activate + . venv/bin/activate pre-commit: # setup pre commit dependencies @@ -98,3 +103,6 @@ build-cypress: open-cypress: if ! [ $(port) ]; then cd superset-frontend/cypress-base; CYPRESS_BASE_URL=http://localhost:9000 npm run cypress open; fi cd superset-frontend/cypress-base; CYPRESS_BASE_URL=http://localhost:$(port) npm run cypress open + +admin-user: + superset fab create-admin From fa6005ac49883446dbb72872be3bad0f38243665 Mon Sep 17 00:00:00 2001 From: "Hugh A. Miles II" Date: Thu, 18 Nov 2021 13:06:06 -0500 Subject: [PATCH 2/2] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5b2f32a21f62d..cd7f5c31568a3 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ superset: --username admin \ --firstname Admin \ --lastname Strator \ - --email admin@apache.org \ + --email admin@superset.io \ --password admin # Initialize the database