Find a file
2014-05-22 11:09:00 +02:00
app Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into grammar_fixes 2014-05-22 10:35:13 +02:00
bin Setup default gitlab.yml with possibility to override default url via environment variable. 2014-05-06 11:34:17 +01:00
config Update the examples to example.com 2014-05-16 12:57:32 +02:00
db Improve MR seeds 2014-05-05 15:07:19 +03:00
doc Merge branch 'deploy-key-projects' into 'master' 2014-05-20 16:19:09 +00:00
features Fix 500 error on group members search 2014-05-16 13:28:35 +03:00
lib Required shell version is now 1.9.4. 2014-05-22 11:01:01 +02:00
log init commit 2011-10-09 00:36:38 +03:00
public Merge pull request #6879 from arantir/patch-1 2014-05-01 22:51:56 +03:00
script Use the new Sidekiq syntax to specify queues 2014-04-01 16:46:27 +02:00
spec Make user access test pass for the right reason 2014-05-15 10:30:50 +02:00
tmp Make sure important directories exist in git 2014-03-30 22:45:28 -04:00
vendor Move images from vendor to app so they are compiled by rails 2014-03-12 10:19:24 +02:00
.foreman complete hooks for post receive 2012-01-08 13:20:20 +02:00
.gitignore Added the dump.rdb file to gitignore 2014-04-06 13:29:29 +02:00
.pkgr.yml Add .pkgr.yml file for automated packaging on https://pkgr.io 2014-05-06 11:34:17 +01:00
.rspec Remove --drb from .rspec 2014-03-24 08:55:27 -04:00
.simplecov organize simplecov 2013-01-07 22:23:13 +02:00
.travis.yml Split feature tests out to different build job 2014-04-13 19:05:52 +02:00
CHANGELOG Version to 6.9.0 2014-05-22 11:09:00 +02:00
config.ru Check specifically for Unicorn in rack config.ru file 2014-01-23 18:24:31 +01:00
CONTRIBUTING.md Add markdown styleguide. 2014-04-21 12:19:46 +02:00
Gemfile Update sass-rails with newer version of rails. 2014-05-08 15:28:07 +02:00
Gemfile.lock Bump grit version. 2014-05-14 15:02:42 +02:00
Guardfile Use ruby 1.9 hash syntax in Guardfile 2014-04-01 13:08:16 +03:00
LICENSE update copyright year to range 2014-02-16 23:06:35 -08:00
MAINTENANCE.md Refer to release docs. 2014-02-19 13:12:55 +01:00
PROCESS.md AMR warning for merge requests officers. 2014-04-13 14:18:25 +02:00
Procfile Fix procfile for developers 2014-04-08 14:38:57 +03:00
Rakefile init commit 2011-10-09 00:36:38 +03:00
README.md It now is a metal dev install. 2014-05-21 13:06:12 +02:00
VERSION Version to 6.9.0 2014-05-22 11:09:00 +02:00

GitLab: self hosted Git management software

logo

animated-screenshots

Gitlab is open source software to collaborate on code

  • Manage git repositories with fine grained access controls that keep your code secure
  • Perform code reviews and enhance collaboration with merge requests
  • Each project can also have an issue tracker and a wiki
  • Used by more than 100,000 organizations, GitLab is the most popular solution to manage git repositories on-premises
  • Completely free and open source (MIT Expat license)
  • Powered by Ruby on Rails

Canonical source

Code status

  • build status on ci.gitlab.org (master branch)

  • Code Climate

  • Coverage Status

  • PullReview stats

Resources

Requirements

  • Ubuntu/Debian/CentOS/RHEL**
  • ruby 1.9.3+
  • git 1.7.10+
  • redis 2.0+
  • MySQL or PostgreSQL

** More details are in the requirements doc

Installation

Official installation methods

  • GitLab packages recommended These packages contain GitLab and all its depencies (Ruby, PostgreSQL, Redis, Nginx, Unicorn, etc.). They are made with omnibus-gitlab that also contains the installation instructions.

  • GitLab Chef Cookbook This cookbook can be used both for development installations and production installations. If you want to contribute to GitLab we suggest you follow the development installation instructions to install all testing dependencies.

  • Manual installation guide This guide to set up a production server on Ubuntu offers detailed and complete step-by-step instructions.

Third party one-click installers

  • Digital Ocean 1-Click Application Install Have a new server up in 55 seconds. Digital Ocean uses SSD disks which is great for an IO intensive app such as GitLab. We recommend selecting a droplet with 1GB of memory.

  • BitNami one-click installers This package contains both GitLab and GitLab CI. It is available as installer, virtual machine or for cloud hosting providers (Amazon Web Services/Azure/etc.).

  • Cloud 66 deployment and management Use Cloud 66 to deploy GitLab to your own server or any cloud (eg. DigitalOcean, AWS, Rackspace, GCE) and then manage it with database backups, scaling and more.

Unofficial installation methods

  • GitLab recipes repository with unofficial guides for using GitLab with different software (operating systems, webservers, etc.) than the official version.

  • Installation guides public wiki with unofficial guides to install GitLab on different operating systems.

New versions and upgrading

Since 2011 GitLab is released on the 22nd of every month. Every new release includes an upgrade guide and new features are detailed in the Changelog.

It is recommended to follow a monthly upgrade schedule. Security releases come out when needed. For more information about the release process see the documentation for monthly and security releases.

Run in production mode

The Installation guide contains instructions on how to download an init script and run it automatically on boot. You can also start the init script manually:

sudo service gitlab start

or by directly calling the script

 sudo /etc/init.d/gitlab start

Please login with root / 5iveL!fe

Run in development mode

Consider setting up the development environment with the cookbook.

Copy the example development unicorn configuration file

cp config/unicorn.rb.example.development config/unicorn.rb

Start it with Foreman

bundle exec foreman start -p 3000

or start each component separately

bundle exec rails s
script/background_jobs start

And surf to localhost:3000 and login with root / 5iveL!fe

Run the tests

  • Run all tests

      bundle exec rake test
    
  • RSpec unit and functional tests

      All RSpec tests: bundle exec rake spec
    
      Single RSpec file: bundle exec rspec spec/controllers/commit_controller_spec.rb
    
  • Spinach integration tests

      All Spinach tests: bundle exec rake spinach
    
      Single Spinach test: bundle exec spinach features/project/issues/milestones.feature
    

Documentation

All documentation can be found on doc.gitlab.com/ce/.

Getting help

Please see Getting help for GitLab on our website for the many options to get help.