sgrichards/drupal-startup

Drupal 8项目的启动模板。

1.1.0 2019-02-20 11:04 UTC

This package is auto-updated.

Last update: 2024-08-29 03:36:16 UTC


README

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

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

Codeship Status for sgrichards/drupal-startup

Drupal 8 / Docker风味的项目模板

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

...根据需要删除!

启动我

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

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

项目结构

以下树状图概述了项目结构和用途。

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

设置

在项目目录中运行lando start

工具

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