Commit 45ef553a authored by exromany's avatar exromany

Update user_management.md

add rails_env to commands
parent 54c20837
......@@ -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
......@@ -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
......@@ -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
......@@ -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
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment