From eb76e1dbc18fb47f5ae401b49f6c42d102cc473b Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Mon, 24 Feb 2014 23:08:03 +0530 Subject: [PATCH] README: added "Rake Tasks" section describing the invocation of gitlab rake tasks --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 5c9babf0..503bd1b1 100644 --- a/README.md +++ b/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