Commit 9653ddf69332c2f707aef39ea528bb0d3e5f0a08
Exists in
spb-stable
and in
2 other branches
Merge branch 'rake_setup' into 'master'
rake setup Add alias `rake setup` to `rake gitlab:setup` Mention in developer docs
Showing
3 changed files
with
34 additions
and
2 deletions
Show diff stats
doc/development/README.md
| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | +# Rake tasks for developers | |
| 2 | + | |
| 3 | +## Setup db with developer seeds: | |
| 4 | + | |
| 5 | +Note that if your db user does not have advanced privilegies you must create db manually before run this command | |
| 6 | + | |
| 7 | +``` | |
| 8 | +bundle exec rake setup | |
| 9 | +``` | |
| 10 | + | |
| 11 | +## Run tests | |
| 12 | + | |
| 13 | +This runs all test suite present in GitLab | |
| 14 | + | |
| 15 | +``` | |
| 16 | +bundle exec rake test | |
| 17 | +``` | |
| 18 | + | |
| 19 | +## Generate searchable docs for source code | |
| 20 | + | |
| 21 | +You can find results under `doc/code` directory | |
| 22 | + | |
| 23 | +``` | |
| 24 | +bundle exec rake gitlab:generate_docs | |
| 25 | +``` | ... | ... |