Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
#
# Factory Hook: post-staging-update
# factory-hooks/post-site-install/02-setup-cohesion.sh
# Run Site Studio commands after executing
SITEGROUP="$1"
ENVIRONMENT="$2"
DB_ROLE="$3"
DOMAIN="$4"
-
type: cohesion_sync_package
export:
uuid: 1eea4b40-c808-4cb5-aa18-ecfce382c273
langcode: en
status: true
dependencies: { }
id: pack_studio_base_button_style
label: 'Studio Base Button Style'
description: 'This is an example of a Site Studio base button style example.'
project:
machine_name: eaacsf
prefix: eaacsf
human_name: eaacsf
profile:
name: lightning
local:
protocol: http
hostname: local.eaacsf.com
git:
<h2>Loan, Investment, Savings, and Mortgage Calculators</h2>
<p>Our online personal financial calculators are here to help you evaluate banking, borrowing and savings decisions.</p>
<p>The information provided by these calculators is intended for illustrative purposes only and may not be applicable to your individual situation. Contact an Arvest Bank financial professional prior to relying on the results.</p>
<p><a name="mortgage"></a></p>
<h2>Mortgage</h2>
#!/bin/bash
#Switch between PHP 7.4 and 8.0 and Drush Version 8 and 11
# To use this script download this file and name it switch-php.sh
# and give it the correct permissions
# You can then run ./switch-php
# with the argument 7.4 or just ./switch-php
# For example ./switch-php 7.4
## First need to download PHP Versions
git status
git add .
git commit -m"Drupal 9 additional code"
acli push:artifact
delete a tag
git tag -d drupal9
git push --delete origin drupal9
Acquia Multisite structure + migration strategy
I can not stress enough the importance of taking the time to build a solid platform architecture to build out a multisite that will be scalable and successful long term. Below are some steps and links to documentation to get started first with the Acquia Cloud Platform and to start thinking about a migration strategy.
Task
Documentation and links
Get access to Acquia Cloud Platform
Setup a local or ide environment
get a second ide Acquia will follow up
configure your ide https://docs.acquia.com/ide/start/
pull the prod environment to your cloud ide - this will be empty
echo -e "Subject: Hello\nFrom: admin@acquia.acquia.com\n\nTest" | sendmail -v siteadmin@acquia.com