Exercise

Template for coding exercise.

Getting Started

This project is based on BLT, an open-source project template and tool that enables building, testing, and deploying Drupal installations following Acquia Professional Services best practices. While this is one of many methodologies, it is our recommended methodology.

  1. Review the Required / Recommended Skills for working with a BLT project.
  2. Ensure that your computer meets the minimum installation requirements (and then install the required applications). See the System Requirements.
  3. Request access to organization that owns the project repo in GitHub (if needed).
  4. Clone the repository.
  5. Install Composer Dependencies. (Warning: this can take some time based on internet speeds.)
    $ composer install
    
  6. Setup local environment.
    $ blt vm
    
  7. Run the initial setup:
    $ vagrant ssh
    $ blt setup
    
  8. Access the site and do necessary work at #LOCAL_DEV_URL by running this:
    $ drush uli
    

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
  • 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)