Linux
-
Change the working directory to the GitLab installation
Terminal window cd /opt/gitlab/embedded/service/gitlab-rails -
Install test resources
Terminal window . scripts/data_seeder/test_resources.sh -
Globalize gems
Terminal window /opt/gitlab/embedded/bin/chpst -e /opt/gitlab/etc/gitlab-rails/env /opt/gitlab/embedded/bin/bundle exec ruby scripts/data_seeder/globalize_gems.rb -
Install bundle
Terminal window /opt/gitlab/embedded/bin/chpst -e /opt/gitlab/etc/gitlab-rails/env /opt/gitlab/embedded/bin/bundle -
Seed the data
Seed with the default seed file that ships with GitLab.
Terminal window gitlab-rake "ee:gitlab:seed:data_seeder[beautiful_data.rb]"You can specify a custom seed file by providing the path to the file.
Terminal window gitlab-rake "ee:gitlab:seed:data_seeder[/path/to/your/seed_file.rb]" -
Explore the data