Merge branch 'rake_setup' into 'master'

rake setup

Add alias `rake setup` to `rake gitlab:setup`
Mention in developer docs
This commit is contained in:
Dmitriy Zaporozhets
2014-04-25 06:04:39 +00:00
3 changed files with 34 additions and 2 deletions
+5 -2
View File
@@ -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
+25
View File
@@ -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
```
+4
View File
@@ -0,0 +1,4 @@
desc "GITLAB | Setup gitlab db"
task :setup do
Rake::Task["gitlab:setup"].invoke
end