-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: create-admin command in Makefile #17471
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17471 +/- ##
=======================================
Coverage 76.94% 76.94%
=======================================
Files 1042 1042
Lines 56312 56312
Branches 7793 7793
=======================================
Hits 43329 43329
Misses 12727 12727
Partials 256 256
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Makefile
Outdated
--username admin \ | ||
--firstname Admin \ | ||
--lastname Strator \ | ||
--email admin@apache.org \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a real email?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol not sure let me change it
--firstname Admin \ | ||
--lastname Strator \ | ||
--email admin@superset.io \ | ||
--password admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please change the password to "general"
or change all the test fixtures that add an admin user, the password to admin
* update make file * Update Makefile
SUMMARY
When a user runs
make install
the load-examples section would fail if the user didn't create an user with usernameadmin
. To fix this I've update the install command to create an admin user by default and added amake admin-user
for users who need to create a specific Admin userBEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION