定制 lcatlett/blt-ddev 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lcatlett/blt-ddev

Composer 安装命令:

composer require lcatlett/blt-ddev

包简介

ddev integration for Acquia BLT

README 文档

README

This is an Acquia BLT plugin providing ddev 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.

Quickstart

To create a new BLT project with ddev integration for local development, run the following commands, replacing mysite with your desired BLT project name:

composer create-project --no-interaction --no-install drupal/recommended-project mysite
cd mysite
sudo sed -i '' -e "s|web/|docroot/|g" composer.json
composer require --dev lcatlett/blt-ddev
blt recipes:ddev --no-interaction
ddev blt setup

Installation and usage

To use this plugin on your existing BLT 12 project, you must be using ddev v1.10.0 or newer.

You can check your version of ddev with ddev version.

In your project, require the plugin with Composer:

composer require --dev lcatlett/blt-ddev

Initialize the ddev integration by calling recipes:ddev, which is a custom BLT command provided by this plugin:

blt recipes:ddev

Running blt recipes:ddev will initialize a .ddev folder as well as BLT configuration in the /blt directory of your project.

The plugin adds a custom ddev command in the web container which makes the ddev blt command available. All blt commands should be prefixed with ddev to ensure it is executed within the docker container, for example:

ddev blt setup

ddev blt tests

ddev blt sync

ddev blt sync --environment=ci

BLT Enhancements

Behat configuration

BLT makes some assumptions about the local development environment which informs behat testing configuration. This plugin extends the default blt behat command to run behat tests in a container as a dedicated service via the ddev blt behat command.

统计信息

  • 总下载量: 67.81k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 17
  • Watchers: 2
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-25