Skip to content
Snippets Groups Projects
Commit 45ef553a authored by exromany's avatar exromany
Browse files

Update user_management.md

add rails_env to commands
parent 54c20837
Branches
Tags
Loading
Loading
Loading
@@ -7,7 +7,7 @@
sudo gitlab-rake gitlab:import:user_to_projects[username@domain.tld]
 
# installation from source or cookbook
bundle exec rake gitlab:import:user_to_projects[username@domain.tld]
RAILS_ENV=production bundle exec rake gitlab:import:user_to_projects[username@domain.tld]
```
 
## Add all users to all projects
Loading
Loading
@@ -21,7 +21,7 @@ Notes:
sudo gitlab-rake gitlab:import:all_users_to_all_projects
 
# installation from source or cookbook
bundle exec rake gitlab:import:all_users_to_all_projects
RAILS_ENV=production bundle exec rake gitlab:import:all_users_to_all_projects
```
 
## Add user as a developer to all groups
Loading
Loading
@@ -31,7 +31,7 @@ bundle exec rake gitlab:import:all_users_to_all_projects
sudo gitlab-rake gitlab:import:user_to_groups[username@domain.tld]
 
# installation from source or cookbook
bundle exec rake gitlab:import:user_to_groups[username@domain.tld]
RAILS_ENV=production bundle exec rake gitlab:import:user_to_groups[username@domain.tld]
```
 
## Add all users to all groups
Loading
Loading
@@ -45,5 +45,5 @@ Notes:
sudo gitlab-rake gitlab:import:all_users_to_all_groups
 
# installation from source or cookbook
bundle exec rake gitlab:import:all_users_to_all_groups
RAILS_ENV=production bundle exec rake gitlab:import:all_users_to_all_groups
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment