August 2019
Beginner
608 pages
16h 7m
English
Use the following command to initialize the database and activate advanced features:
$ cd /home/git/gitlab$ sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production force=yes
When done, you will see the following:
‘Administrator account created:'
You can continue the installation and eventually start GitLab, then the first person who accesses the login page will be given the option to supply a new admin password. This is probably not what you want, so there is a command to set this before starting. You have to supply the password, email, and variable to override the database check to make it work (answer yes to the prompt):
sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production ...
Read now
Unlock full access