thinkshout/robo-drupal 问题修复 & 功能扩展

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

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

thinkshout/robo-drupal

最新稳定版本:4.0.2

Composer 安装命令:

composer create-project thinkshout/robo-drupal

包简介

Robo Tasks for Drupal projects

README 文档

README

Robo commands and tasks for Drupal

Doc pages are at https://thinkshout.github.io/robo-drupal/index.html

Classes are listed at https://thinkshout.github.io/robo-drupal/class_think_shout_1_1_robo_drupal_1_1_tasks.html

Update information

If you update to the 3.x release, you will need to rerun robo configure to set the TS_PROD_BRANCH variable (--prod-branch=main). This allows you to use a branch name for production deployments that is not the default. If you do not specify a production branch, it will default to "main".

Once you have set a production branch, you can create a branch with that name from your current production branch, push the new branch up to github, and delete the old branch. In some cases, you may need to change the default branch in github (although that is normally "develop"). You may want to review open pull requests as well, and notify other developers on the project to update their local repositories by pulling down the new branch.

Installation

  1. Start by requiring it for dev environments: composer require --dev thinkshout/robo-drupal -W
  2. In your projects' composer.json file, under "extra" -> "drupal-scaffold" -> "allowed-packages" add "thinkshout/robo-drupal" 
  3. If you don't have a .env.dist file in your project's root, run robo init.
  4. Run robo configure. This should create a .env file based on your .env.dist file.
  5. Test out the configuration above by pulling down the live database:
robo pull:config # Makes a database backup and pulls it locally.
robo install # Builds your local database - you can pull from "local"
  1. In your project's ".gitignore" file, add the ".env" file at the bottom, like so (you might just need to uncomment):
# Ignore generated config
.env

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2016-08-18