CONTRIBUTING.md 643 字节
Newer Older
A
Alex Denisov 已提交
1
## Contribute to GitLab 
2

A
Alex Denisov 已提交
3
If you want to contribute to GitLab, follow this process:
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

1. Fork the project
2. Create a feature branch
3. Code
4. Create a pull request

We only accept pull requests if: 

* Your code has proper tests and all tests pass
* Your code can be merged w/o problems 
* It wont broke existing functionality
* Its a quality code
* We like it :)

## [You may need a developer VM](https://github.com/gitlabhq/developer-vm)

## Running tests

A
Alex Denisov 已提交
22
To run the specs for GitLab, you need to run seeds for test db.
23 24 25 26 27 28 29 30

    cd gitlabhq
    rake db:seed_fu RAILS_ENV=test

Then you can run the test suite with rake:

    rake gitlab:test