mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
README: added "Rake Tasks" section describing the invocation of gitlab rake tasks
This commit is contained in:
parent
78b274d67b
commit
eb76e1dbc1
17
README.md
17
README.md
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user