diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 18:09:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 18:09:15 +0300 |
commit | 536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (patch) | |
tree | 88d08f7dfa29a32d6526773c4fe0fefd9f2bc7d1 /doc/development/import_project.md | |
parent | 50ae4065530c4eafbeb7c5ff2c462c48c02947ca (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/import_project.md')
-rw-r--r-- | doc/development/import_project.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/development/import_project.md b/doc/development/import_project.md index 06c0bd02262..37cf07ff702 100644 --- a/doc/development/import_project.md +++ b/doc/development/import_project.md @@ -30,7 +30,7 @@ Note that to use the script, it will require some preparation if you haven't don For details how to use `bin/import-project`, run: -```sh +```shell bin/import-project --help ``` @@ -53,7 +53,7 @@ As part of this script we also disable direct and background upload to avoid sit We can simply run this script from the terminal: -```sh +```shell bundle exec rake "gitlab:import_export:import[root, root, testingprojectimport, /path/to/file.tar.gz]" ``` @@ -63,7 +63,7 @@ The last option is to import a project using a Rails console: 1. Start a Ruby on Rails console: - ```sh + ```shell # Omnibus GitLab gitlab-rails console @@ -126,7 +126,7 @@ You can use this [snippet](https://gitlab.com/gitlab-org/gitlab/snippets/1924954 You can execute the script from the `gdk/gitlab` directory like this: -```sh +```shell bundle exec rails r /path_to_sript/script.rb project_name /path_to_extracted_project request_store_enabled ``` |