-
Notifications
You must be signed in to change notification settings - Fork 49
Create super admin user
Tim Donohue edited this page Oct 16, 2017
·
3 revisions
To manage your tenants, you'll want to have at least one superadmin user. This user must be a "global" user (i.e. not specific to a tenant)
- In your browser, click the "Administrator Login" link in the footer of the homepage. Then click "Sign up" to create a global user account.
- SSH to the webapp instance in the stack
- Change to the application directory
cd /var/app/current
- Use the
superadmin
rake task to provide superadmin rights. The square brackets around the email address are required. (Because we use some gems from github we need to set the BUNDLE_PATH first.)
BUNDLE_PATH=/opt/rubies/ruby-2.3.4/lib/ruby/gems/2.3.0/ bundle exec rake hyku:superadmin:grant[[email protected]]
- Back in the browser, log out and in again using the "Administrator Login" option in the footer. Once logged in, you'll be able to create a new repository (i.e. tenant) or see currently existing tenants via an "Accounts" menu option in header.