diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-24 21:53:18 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-24 21:53:18 +0400 |
commit | 7e10d1017819ea0be41887803e9b4d6edd92bf49 (patch) | |
tree | ad98d9307d04c68ada280ed595d63383345db3f4 /doc/development | |
parent | 2eaca5453654f4c5e773067f303d6002268cd06e (diff) |
Add doc file for dev rake tasks
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/README.md | 7 | ||||
-rw-r--r-- | doc/development/rake_tasks.md | 25 |
2 files changed, 30 insertions, 2 deletions
diff --git a/doc/development/README.md b/doc/development/README.md index aa59eb2c3e1..eb88b6c860f 100644 --- a/doc/development/README.md +++ b/doc/development/README.md @@ -1,2 +1,5 @@ -+ [Architecture](architecture.md) -+ [Shell commands](shell_commands.md) +## Development + ++ [Architecture](architecture.md) of GitLab ++ [Shell commands](shell_commands.md) in the GitLab codebase ++ [Rake tasks](rake_tasks.md) for development diff --git a/doc/development/rake_tasks.md b/doc/development/rake_tasks.md new file mode 100644 index 00000000000..9e75b3a6275 --- /dev/null +++ b/doc/development/rake_tasks.md @@ -0,0 +1,25 @@ +# Rake tasks for developers + +## Setup db with developer seeds: + +Note that if your db user does not have advanced privilegies you must create db manually before run this command + +``` +bundle exec rake setup +``` + +## Run tests + +This runs all test suite present in GitLab + +``` +bundle exec rake test +``` + +## Generate searchable docs for source code + +You can find results under `doc/code` directory + +``` +bundle exec rake gitlab:generate_docs +``` |