How to get started? How to create the first Admin User? #144
-
First let me say thank you for providing code on github, it looks like a wonderful project. Any information would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
Thanks for the kind words!
To stand up Z locally without UMN config, you'll need to modify the setup instructions a bit. I'm guessing you were seeing a few LDAP bind errors.
First, you'll need to skip the seeding since that does a user lookup via ldap. So instead of
rails db:setup
do:Then, we can tell the app to use a mock LDAP User Lookup service at startup (like we do we running CI tests) by passing an environment variable:
(Sorry, this isn't well documented – we need to surface it better.)
Once things are started, you can login locally with whatever credentials (e.g.
admin
,admin
). Z will create a …