gauravgoyal/local-acsf-sites

There is no license information available for the latest version (0.1) of this package.

Create ACSF sites locally

0.1 2020-04-13 17:31 UTC

This package is auto-updated.

Last update: 2024-04-20 14:27:59 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