ruby-build 2.3.6 ~/.rubies/2.3.6
# init the ruby version
chruby ruby-2.3.6
# clone the dev kit
git clone git@gitlab.com:gitlab-org/gitlab-development-kit.git
cd gitlab-development-kit
# dependancies...
chruby ruby-2.3.6
gem pristine --all
brew install git redis postgresql@9.6 libiconv icu4c pkg-config cmake go openssl coreutils re2 graphicsmagick
brew install yarn --without-node
echo 'export PATH="/usr/local/opt/postgresql@9.6/bin:$PATH"' >> ~/.zshrc
echo 'chruby ruby-2.3.6' >> ~/.zshrc
source ~/.zshrc
# start from here, will clean up old crap if you need to start over...
git clean -xdf
rm -rf gitlab-development-kit
rm -rf gitlab
bundle config build.eventmachine --with-cppflags=-I/usr/local/opt/openssl/include
gem install gitlab-development-kit
gdk init
touch .gdk-install-root
gdk install gitlab_repo=https://gitlab.com/MY-FORK/gitlab-ce.git
support/set-gitlab-upstream
- Rails 4 -
gdk run
- Rails 5 -
gdk run rails5
- DB -
gdk run db
- app rails 4 -
gdk run app
- app rails 5 -
gdk run app rails5
To access GitLab you may now go to http://localhost:3000 in your browser. The development login credentials are root and 5iveL!fe. If you followed the GitLab Enterprise Edition instructions above, you will need to access http://localhost:3001 in your browser.
If you want to work on GitLab CI you will need to install GitLab Runner.
see ./set-up-gdk.md for more details.