From c51e8945412cbffaf918a4e130358c3f41b5aae2 Mon Sep 17 00:00:00 2001 From: demeritcowboy <demeritcowboy@hotmail.com> Date: Mon, 14 Sep 2020 20:52:58 -0400 Subject: [PATCH] installing sample data in drupal 8 --- docs/drupal8/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/drupal8/index.md b/docs/drupal8/index.md index 5b478ce..2fb0a45 100644 --- a/docs/drupal8/index.md +++ b/docs/drupal8/index.md @@ -146,6 +146,16 @@ Replace `cv` with the path to the cv phar on your system if applicable. The part * `URL` (required) is the canonical URL to the root of your CMS site. * `LANG` (optional) is one of the supported languages for CiviCRM - it **must** exist in your `l10n` folder. +#### Installing Sample Data {:#sampledata} + +Currently you can only install sample data using the command line and the `-m` flag to set the `loadGenerated` option. Example: + +<!-- markdownlint-disable MD046 --> +``` bash +cv core:install -vv --cms-base-url="URL" -m loadGenerated=1 +``` +<!-- markdownlint-enable MD046 --> + ## Review Permissions {:#permissions} !!! note "" -- GitLab