lcatlett/blt-drush-alias 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

lcatlett/blt-drush-alias

最新稳定版本:2.0.1

Composer 安装命令:

composer require lcatlett/blt-drush-alias

包简介

Acquia Drush Alias Generator Plugin for Acquia BLT

README 文档

README

This is an Acquia BLT plugin that dynamically generates Acquia drush aliases for both Acquia Cloud and Acquia Cloud Site Factory projects.

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 use this plugin on your existing BLT 10 project, require the plugin with Composer:

composer require lcatlett/blt-drush-alias

Generate your Acquia drush aliases by calling aliases, which is a custom BLT command provided by this plugin:

blt aliases

This command will prompt you for a Acquia Cloud API v2 token and secret key as well as your Acquia application ID.

Run blt aliases again to update your ACE or ACSF drush aliases.

Installation and usage

To create a new BLT project and generate your Acquia drush aliases, run the following commands, replacing mysite with your desired BLT project name.

composer create-project --no-interaction acquia/blt-project mysite
cd mysite
composer require lcatlett/blt-drush-alias
blt aliases --no-interaction

Generate your Acquia drush aliases by calling aliases, which is a custom BLT command provided by this plugin:

blt aliases

This command will prompt you for a Acquia Cloud API v2 token and secret key as well as your Acquia application ID.

Run blt aliases again to update your ACE or ACSF drush aliases.

Why do I need this plugin?

This command previously existed in BLT, but was removed in favor of generating drush aliases through the Acquia Developer Studio cli which downloads Drush aliases per the Acquia docs. These drush aliases are not compatible with ACSF or multisite, nor are they dynamically updated to use custom domains. Additionally, the default Acquia drush aliases use the globally installed drush9 package which is problematic for a number of reasons.

统计信息

  • 总下载量: 348.97k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-12