lemberg/draft-environment 问题修复 & 功能扩展

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

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

lemberg/draft-environment

最新稳定版本:3.6.4

Composer 安装命令:

composer require lemberg/draft-environment

包简介

Development environment for Draft Drupal.

README 文档

README

Latest Stable Version Build Status codecov

This is Vagrant-based development environment for Drupal projects. This project is a part of a Draft Drupal project template.

Prerequisites

  • PHP (7.4+) and Composer 2
  • Vagrant (2.2.6+)
  • VirtualBox (5.2+)
  • mkcert (optional)

Vagrant plugins (will be automatically installed)

Vagrant Host Manager

Manages host and/or guest hosts files. Draft is configured to create a hostname.test DNS record on a host machine.

vagrant-disksize

A Vagrant plugin to resize disks in VirtualBox.

Vagrant WinNFSd (WINDOWS only)

Dramatically increases disk IO on Windows by adding NFS support.

How to

  1. (Optional) Locally-trusted SSL certificates

    Skip this step if mkcert is already installed and the local CA does already exist.

    Install mkcert in order to get locally-trusted development SSL certificates. This tool requires no configuration. After installation just run:

    $ mkcert -install
    
  2. Add Draft Environment to the project (as a dev dependency):

    $ composer require --dev lemberg/draft-environment
    
  3. Configure guest machine by answering installer's questions. At the moment, project name (hostname) and PHP version are the only settings that can be set interactively

  4. Override any variable used in any Ansible role by manually editing the vm-settings.yml. All available variables alongside with their default values are listed in default.vm-settings.yml

    Here's the list of used roles:

  5. Create and provision the guest machine:

    $ vagrant up
    
  6. Commit .gitignore, Vagrantfile and vm-settings.yml to lock the VM state

  7. Configuration can be overridden locally by creating and editing vm-settings.local.yml (and this file must not be committed)

Documentation

Everybody loves documentation. We do too! Check this out.

Changelog

Changelog can be found here CHANGELOG.md

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 5
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2017-02-13