Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.95 KB

tools.md

File metadata and controls

43 lines (31 loc) · 1.95 KB

Provisioning a new site

There are several commands within BLT that make creating a new site much easier.

  • blt recipes:multisite:init will create a new site directory with all the framework necessary for a new multisite instance. This command will also ask to create a new database on Acquia. This can also ran manually by blt gryphon:create-database. The machine name of the site and the database should match. BLT automatically connects to the database if it has the same name. see https://github.com/acquia/blt/blob/12.x/settings/blt.settings.php#L125
  • blt gryphon:add-domain can be used to add custom domains to any environment except RA.
  • blt gryphon:create-cron creates a standard cron job for a specific site that will run every 6 hours.

Additional Resources

Additional BLT documentation may be useful. You may also access a list of BLT commands by running this:

$ blt

Note the following properties of this project:

Working With a BLT Project

BLT projects are designed to instill software development best practices (including git workflows).

Our BLT Developer documentation includes an example workflow.

Important Configuration Files

BLT uses a number of configuration (.yml or .json) files to define and customize behaviors. Some examples of these are:

  • blt/blt.yml (formerly blt/project.yml prior to BLT 9.x)
  • blt/local.blt.yml (local only specific blt configuration)
  • box/config.yml (if using Drupal VM)
  • drush/sites (contains Drush aliases for this project)
  • composer.json (includes required components, including Drupal Modules, for this project)

Resources