Last active
August 8, 2016 10:57
-
-
Save Voronenko/ef53f39e43a0a8cbc04572dc2f17ae2b to your computer and use it in GitHub Desktop.
Gitlab New User
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /home/git/gitlab && sudo -u git -H bundle exec rails console production | |
user = User.create(:username => 'user1', | |
:name => 'Test', | |
:password => '12345678', | |
:password_confirmation => '12345678', | |
:email => '[email protected]', | |
:admin => true) | |
user.save! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment