Skip to content

How to get started? How to create the first Admin User? #144

Answered by jxjj
mojibake-umd asked this question in Q&A
Discussion options

You must be logged in to vote

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:

$ ./bin/rails db:create
$ ./bin/rails db:schema:load

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:

$ USER_LOOKUP_SKELETON=1 bin/dev

(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 …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mojibake-umd
Comment options

Answer selected by mojibake-umd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants