GitLab

Now, we're finally ready to install GitLab itself! Log in (or use su) as the git user and check out the GitLab Community Edition repository:

  1. Make sure that you go to the GitLab website first and pick a branch that's new and stable, like I have in the following code:
      git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 11-1-stable       gitlab
  1. Next up, change into the directory that you just checked GitLab into:
      cd gitlab
  1. Copy the example config and edit the file with your preferred text editor, according to the directions at the top of the file:
      cp config/gitlab.yml.example config/gitlab.yml
  1. Make the uploads directory:
      mkdir public/uploads/
  1. Copy the default config files:
 cp config/secrets.yml.example config/secrets.yml ...

Get GitLab Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.