Skip to content

Commit

Permalink
Merge pull request #129 from acquia/feature/site-studio-7.4
Browse files Browse the repository at this point in the history
Merge `feature/site-studio-7.4` into `develop`
  • Loading branch information
vishalkhode1 committed Dec 16, 2023
1 parent a187a46 commit 5582b3a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions acms/acms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ starter_kits:
- shield
install:
- acquia_cms_site_studio
- sitestudio_claro
- acquia_cms_page
- acquia_cms_search
- acquia_cms_tour
Expand Down
1 change: 1 addition & 0 deletions acms/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ sites:
default:
modules:
- acquia_cms_site_studio
- sitestudio_claro
- acquia_cms_article
- acquia_cms_document
- acquia_cms_event
Expand Down
15 changes: 8 additions & 7 deletions src/Helpers/Task/InstallTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,14 @@ public function run(array $args): void {
// Get User password from shared factory or from option argument.
$password = $siteInstallArgs['account-pass'] ?? SharedFactory::getData('password');
$this->print("User name: admin, User password: $password", 'info');

// Enable themes.
$this->print("Enabling themes for the starter-kit:", 'headline');
$this->enableThemes->execute([
'themes' => $this->buildInformation['themes'],
'starter_kit' => $this->bundle,
]);

$this->print("Enabling modules for the starter-kit:", 'headline');
$isDemoContent = FALSE;
$modulesList = JsonParser::installPackages($bundleModules);
Expand All @@ -244,13 +252,6 @@ public function run(array $args): void {
'keys' => $args['keys'],
]);

// Enable themes.
$this->print("Enabling themes for the starter-kit:", 'headline');
$this->enableThemes->execute([
'themes' => $this->buildInformation['themes'],
'starter_kit' => $this->bundle,
]);

// Toggle modules based on environments.
$this->print("Toggle modules for the starter-kit:", 'headline');
$this->toggleModules->execute([
Expand Down
1 change: 1 addition & 0 deletions tests/unit/CliTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ protected function getAcmsFileContents() :array {
],
"install" => [
"acquia_cms_site_studio",
"sitestudio_claro",
"acquia_cms_page",
"acquia_cms_search",
"acquia_cms_tour",
Expand Down

0 comments on commit 5582b3a

Please sign in to comment.