Coder Social home page Coder Social logo

gcordner / boilerplate-drupal9-blt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from docksal/boilerplate-drupal9-blt

0.0 0.0 0.0 47 KB

Drupal 9 boilerplate defined by Acquia BLT and powered by Docksal

Home Page: https://docksal.io

License: GNU General Public License v2.0

Shell 47.31% PHP 52.69%

boilerplate-drupal9-blt's Introduction

BLTed powered by Docksal

A base or sample Drupal 9 project defined by Acquia BLT and powered by Docksal.

BLT is an open-source project template and tool that enables building, testing, and deploying Drupal installations following Acquia Professional Services' best practices.

Docksal is a Docker tool for building containerized development environments. From a zero-config setup to a fully customized build, along with the command-line tool fin, Docksal provides a powerful and flexible development platform.

Getting Started

You must first have Docksal installed and setup on your computer.

If you are using an Acquia Cloud production environment, follow instructions for adding your Acquia Cloud API key to the Docksal environment.

To use this project as a starter, clone this repo to your local machine.

From your terminal, go to the directory where you have cloned the repo and enter the following command:

fin init

A composer.lock file and a salt.txt file will be generated. These files, along with the docroot directory should be committed to your repository. When complete, you can access the site by running:

fin drush uli

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

fin blt

Additional Docksal documentation may also be helpful. You can access a list of commands simply by running:

fin

Working With a BLT Project

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

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

Resources

This project includes the following packages and configuration:

  • Drupal core
  • Acquia BLT (Development and automation toolset)
  • Acquia Lightning (Drupal distribution)
  • Drush (Drupal CLI and development tool, via Lightning)
  • Acquia Connector (Management and reporting tool for Acquia Cloud sites, via Lightning)
  • Asset Packagist repository, package, and configuration (via Lightning)

Acquia Drupal Recommended Project

This is a project template providing a great out-of-the-box experience for new Drupal 9 projects hosted on Acquia. It is based on the Drupal Recommended Project and similar to the Acquia Drupal Minimal Project, with the principal difference being the addition of several modules and packages that provide the best possible out-of-the-box experience for Acquia customers.

This project includes the following packages and configuration:

  • Drupal core
  • Acquia BLT (Development and automation toolset)
  • Acquia Lightning (Drupal distribution)
  • Drush (Drupal CLI and development tool, via Lightning)
  • Acquia Connector (Management and reporting tool for Acquia Cloud sites, via Lightning)
  • Asset Packagist repository, package, and configuration (via Lightning)

Once you create the project, you can and should customize composer.json and the rest of the project to suit your needs. You will receive updates from any dependent packages, but not from the project template itself. It's yours to keep!

For instance, you can remove a provided package by running the following command and committing the changed composer.json and composer.lock to Git:

composer remove acquia/blt

License

Copyright (C) 2020 Acquia, Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

BLT v12.0.0

boilerplate-drupal9-blt's People

Contributors

achekulaev avatar lmakarov avatar lpeabody avatar shelane avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.