2014-04-24 13:53:18 -04:00
|
|
|
# Rake tasks for developers
|
|
|
|
|
|
|
|
## Setup db with developer seeds:
|
|
|
|
|
2014-07-31 12:55:13 -04:00
|
|
|
Note that if your db user does not have advanced privileges you must create the db manually before running this command.
|
2014-04-24 13:53:18 -04:00
|
|
|
|
|
|
|
```
|
|
|
|
bundle exec rake setup
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run tests
|
|
|
|
|
2014-07-31 12:55:13 -04:00
|
|
|
This runs all test suites present in GitLab.
|
2014-04-24 13:53:18 -04:00
|
|
|
|
|
|
|
```
|
|
|
|
bundle exec rake test
|
|
|
|
```
|
|
|
|
|
|
|
|
## Generate searchable docs for source code
|
|
|
|
|
2014-07-31 12:55:13 -04:00
|
|
|
You can find results under the `doc/code` directory.
|
2014-04-24 13:53:18 -04:00
|
|
|
|
|
|
|
```
|
|
|
|
bundle exec rake gitlab:generate_docs
|
|
|
|
```
|