README: added "Rake Tasks" section describing the invocation of gitlab rake tasks

This commit is contained in:
Sameer Naik 2014-02-24 23:08:03 +05:30
parent 78b274d67b
commit eb76e1dbc1

View File

@ -23,6 +23,7 @@
- [Taking Backups](#taking-backups)
- [Restoring Backups](#restoring-backups)
- [Upgrading](#upgrading)
- [Rake Tasks](#rake-tasks)
- [References](#references)
# Introduction
@ -350,6 +351,22 @@ docker run -i -t -rm [OPTIONS] sameersbn/gitlab app:rake db:migrate
docker run -d [OPTIONS] sameersbn/gitlab
```
## Rake Tasks
The app:rake command allows you to run gitlab rake tasks. To run a rake task simple specify the task to be executed to the app:rake command. For example, if you want to gather information about gitLab and the system it runs on.
```bash
docker run -d [OPTIONS] sameersbn/gitlab app:rake gitlab:env:info
```
Similarly, to import bare repositories into GitLab project instance
```bash
docker run -d [OPTIONS] sameersbn/gitlab app:rake gitlab:import:repos
```
For a complete list of available rake tasks please refer https://github.com/gitlabhq/gitlabhq/tree/master/doc/raketasks or the help section of your gitlab installation.
## References
* https://github.com/gitlabhq/gitlabhq
* https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md