diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-12-17 09:49:10 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-12-17 09:49:10 +0000 |
commit | 2fef5c1323ee684b1d38241f92e5dac7fb446671 (patch) | |
tree | 908c65e90c26826fbc38f32f07f4f4084777bbd5 /README.md | |
parent | fb7ba2deac1a2d4ef04cd7c3a2768b1791438351 (diff) | |
parent | 98e64610b2b5ad8340d763d3fd370bc11d0ad700 (diff) | |
download | gitlab-ce-2fef5c1323ee684b1d38241f92e5dac7fb446671.tar.gz |
Merge branch 'dev-docs-in-gdk' into 'master'
Dev docs in gdk
Also see https://gitlab.com/gitlab-org/gitlab-development-kit/merge_requests/31
See merge request !1331
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 46 |
1 files changed, 3 insertions, 43 deletions
diff --git a/README.md b/README.md index f303e8e7383..abf8331fa8e 100644 --- a/README.md +++ b/README.md @@ -66,55 +66,15 @@ Since 2011 a minor or major version of GitLab is released on the 22nd of every m For updating the the Omnibus installation please see the [update documentation](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/update.md). For manual installations there is an [upgrader script](doc/update/upgrader.md) and there are [upgrade guides](doc/update). -## 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` - ## Install a development environment We recommend setting up your development environment with [the GitLab Development Kit](https://gitlab.com/gitlab-org/gitlab-development-kit). -If you do not use the development kit you might need to copy the example development unicorn configuration file +If you do not use the GitLab Development Development kit you need to install and setup all the dependencies yourself, this is a lot of work and error prone. +One small thing you also have to do when installing it yourself is to copy the example development unicorn configuration file: cp config/unicorn.rb.example.development config/unicorn.rb -## Run in development mode - -Start it with [Foreman](https://github.com/ddollar/foreman) - - bundle exec foreman start -p 3000 - -or start each component separately: - - bundle exec rails s - bin/background_jobs start - -And surf to [localhost:3000](http://localhost:3000/) and login with `root` / `5iveL!fe`. - -## Run the tests - -- Run all tests: - - bundle exec rake test - -- [RSpec](http://rspec.info/) unit and functional tests. - - All RSpec tests: `bundle exec rake spec` - - Single RSpec file: `bundle exec rspec spec/controllers/commit_controller_spec.rb` - -- [Spinach](https://github.com/codegram/spinach) integration tests. - - All Spinach tests: `bundle exec rake spinach` - - Single Spinach test: `bundle exec spinach features/project/issues/milestones.feature` +Instructions on how to start Gitlab and how to run the tests can be found in the [development section of the GitLab Development Kit](https://gitlab.com/gitlab-org/gitlab-development-kit#development). ## Documentation |