inviqa/drupal-startup

Drupal 8项目的启动模板。

安装: 8

依赖者: 0

建议者: 0

安全性: 0

星标: 0

关注者: 9

分支: 0

类型:项目

1.1.0 2019-02-20 11:04 UTC

README

 ____ _____  _    ____ _____ _   _ ____
/ ___|_   _|/ \  |  _ \_   _| | | |  _ \
\___ \ | | / _ \ | |_) || | | | | | |_) |
 ___) || |/ ___ \|  _ < | | | |_| |  __/
|____/ |_/_/   \_\_| \_\|_|  \___/|_|

########################################

Codeship Status for inviqa/drupal-startup

Drupal 8 / Lando口味的项目模板

此项目应用作新Drupal 8基于项目的骨架起点。因此,包含了一些假设和有偏见的决策,以启动一个项目,包含您开始所需的一切!

...根据需要删除!

启动我

使用composer在当前目录下启动newproject

composer create-project --no-install -s dev inviqa/drupal-startup newproject

更新项目根目录下的.gitignore

项目结构

下面的树形结构概述了项目结构和用途。

newproject
|
├── conf # container related config (eg. solr)
├── config
|   └── sync # Drupal config files
|
├── doc # Project related documentation
|
├── docroot
|   ├── modules
|   |   └── custom # Custom modules
|   ├── profiles
|   |   └── custom # Custom install profiles
|   ├── sites
|   |   └── default # Default site settings
|   └── themes
|       └── custom # Custom themes
|
├── scripts
|   ├── deployment # Shell scripts for deployment
|   ├── development # Shell scripts for local dev
|   └── common.inc.sh # Shared scripts for all environments
|
└── test
    └── behat # Behat tests

开发环境

先决条件

  1. 安装Docker-for-mac
  2. 安装 Lando

注意:与v3.0.0-rc1及以下版本兼容

设置

在项目目录内运行lando start

工具

有关更多与Lando相关的命令,请参阅:https://docs.devwithlando.io/config/tooling.html