mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
desc "GITLAB | Setup gitlab db"
|
||||
task :setup do
|
||||
Rake::Task["gitlab:setup"].invoke
|
||||
end
|
||||
Reference in New Issue
Block a user