gauravgoyal / local-acsf-sites
Create ACSF sites locally
Installs: 8 687
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
This package is auto-updated.
Last update: 2025-01-20 16:15:27 UTC
README
This is an Acquia BLT plugin providing ACSF multisite integration.
This plugin is community-created and community-supported. Acquia does not provide any direct support for this software or provide any warranty as to its stability.
Installation and usage
In your project, require the plugin with Composer:
composer require gauravgoyal/local-acsf-sites
Clone a site locally by using below command
blt recipes:acsf:clone:site @target_env @sitename
For e.g. to clone a site example from 01live environment, command would be
blt recipes:acsf:clone:site 01live example
Run vagrant up --provision
to create a vhost and database entry.
visit local.example.com
to checkout the site.
How does it work?
- Above command uses
recipes:multisite:init
internally to create a new site with new db. - Multisite directory is ignored in .gitignore file
- Pre Sites PHP hook is used to populate the sites into site variable