mirror of https://github.com/apache/superset.git
fix: create-admin command in Makefile (#17471)
* update make file * Update Makefile
This commit is contained in:
parent
683d1dab13
commit
7b68002eb1
12
Makefile
12
Makefile
|
@ -30,7 +30,12 @@ superset:
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
# Create an admin user in your metadata database
|
# Create an admin user in your metadata database
|
||||||
superset fab create-admin
|
superset fab create-admin \
|
||||||
|
--username admin \
|
||||||
|
--firstname Admin \
|
||||||
|
--lastname Strator \
|
||||||
|
--email admin@superset.io \
|
||||||
|
--password admin
|
||||||
|
|
||||||
# Initialize the database
|
# Initialize the database
|
||||||
superset db upgrade
|
superset db upgrade
|
||||||
|
@ -67,7 +72,7 @@ venv:
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
|
|
||||||
activate:
|
activate:
|
||||||
source venv/bin/activate
|
. venv/bin/activate
|
||||||
|
|
||||||
pre-commit:
|
pre-commit:
|
||||||
# setup pre commit dependencies
|
# setup pre commit dependencies
|
||||||
|
@ -98,3 +103,6 @@ build-cypress:
|
||||||
open-cypress:
|
open-cypress:
|
||||||
if ! [ $(port) ]; then cd superset-frontend/cypress-base; CYPRESS_BASE_URL=http://localhost:9000 npm run cypress open; fi
|
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
|
cd superset-frontend/cypress-base; CYPRESS_BASE_URL=http://localhost:$(port) npm run cypress open
|
||||||
|
|
||||||
|
admin-user:
|
||||||
|
superset fab create-admin
|
||||||
|
|
Loading…
Reference in New Issue