Find a file
Dmitriy Zaporozhets 6edb4c0634
Allow Cross-origin resource sharing for GitLab API
It will allow to write web applications on other domains to interact
with GitLab instances

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-05 10:29:45 +02:00
app Improve help page for Project web hooks 2013-12-04 13:37:18 +02:00
config Allow Cross-origin resource sharing for GitLab API 2013-12-05 10:29:45 +02:00
db Add new fields to web_hooks table. 2013-12-04 13:37:17 +02:00
doc ProjectHook API supports new event fields 2013-12-04 13:37:39 +02:00
features Issue 5716 - Allow removal of avatar 2013-12-02 16:20:34 -06:00
lib Merge branch 'ldap_check' of /home/git/repositories/gitlab/gitlabhq 2013-12-04 14:56:19 +00:00
log
public Updated favicon.ico to include retina assets and migrated from GL to cat glyph 2013-11-29 09:53:14 +10:00
script Use 2>&1 because Bash 3 does not support &>> 2013-10-22 10:27:23 +02:00
spec ProjectHook API supports new event fields 2013-12-04 13:37:39 +02:00
tmp
vendor Conventional naming for diff modes. 2013-11-27 09:00:14 +01:00
.foreman
.gitignore Add documentation to help section, rack_attack as example 2013-09-30 11:10:46 +02:00
.rspec
.simplecov
.travis.yml Disable travis notifications 2013-12-02 10:39:46 +02:00
CHANGELOG Mention advanced project hooks in CHANGELOG 2013-12-04 13:37:38 +02:00
config.ru
CONTRIBUTING.md Separate procedures for both releases. 2013-11-14 13:40:05 -05:00
Gemfile Allow Cross-origin resource sharing for GitLab API 2013-12-05 10:29:45 +02:00
Gemfile.lock Allow Cross-origin resource sharing for GitLab API 2013-12-05 10:29:45 +02:00
Guardfile
LICENSE
MAINTENANCE.md
PROCESS.md spelling mistake. 2013-09-04 09:08:39 +02:00
Procfile
Rakefile
README.md Comprehensive list of installation methods. 2013-11-30 12:39:11 +01:00
VERSION Starting 6.4.0.pre 2013-11-24 22:06:17 +02:00

GitLab: self hosted Git management software

logo

animated-screenshots

GitLab allows you to

  • keep your code secure on your own server
  • manage repositories, users and access permissions
  • communicate through issues, line-comments and wiki pages
  • perform code review with merge requests

GitLab is

  • powered by Ruby on Rails
  • completely free and open source (MIT license)
  • used by more than 25.000 organizations to keep their code secure

Code status

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

  • Code Climate

  • Dependency Status this button can be yellow (small updates are available) but must not be red (a security fix or an important update is available), gems are updated in major releases of GitLab.

  • Coverage Status

Resources

Requirements

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

** More details are in the requirements doc

Official installation methods

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.

  • 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.).

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.

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

Run in development mode

Start it with Foreman

bundle exec foreman start -p 3000

or start each component separately

bundle exec rails s
script/background_jobs start

Run the tests

  • Seed the database

      bundle exec rake db:setup RAILS_ENV=test
      bundle exec rake db:seed_fu RAILS_ENV=test
    
  • Run all tests

      bundle exec rake gitlab: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
    

GitLab interfaces

Getting help

  • Maintenance policy specifies what versions are supported.

  • Troubleshooting guide contains solutions to common problems.

  • Mailing list and Stack Overflow are the best places to ask questions. For example you can use it if you have questions about: permission denied errors, invisible repos, can't clone/pull/push or with web hooks that don't fire. Please search for similar issues before posting your own, there's a good chance somebody else had the same issue you have now and has resolved it. There are a lot of helpful GitLab users there who may be able to help you quickly. If your particular issue turns out to be a bug, it will find its way from there to a fix.

  • Unofficial #gitlab IRC on Freenode is another way to get in touch with other GitLab users who may be able to help you.

  • Feedback and suggestions forum is the place to propose and discuss new features for GitLab.

  • Contributing guide describes how to submit pull requests and issues. Pull requests and issues not in line with the guidelines in this document will be closed.

  • Support subscription connects you to the knowledge of GitLab experts that will resolve your issues and answer your questions.

  • Consultancy allows you hire GitLab experts for installations, upgrades and customizations.

Getting in touch