manaticr/platformsh-drupal-template 问题修复 & 功能扩展

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

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

manaticr/platformsh-drupal-template

Composer 安装命令:

composer create-project manaticr/platformsh-drupal-template

包简介

Project template for Drupal 9 projects with a relocated document

README 文档

README

Template based on drupal/recomended-project to create drupal projects to be deployed in Platformsh, also includes:

Dependencies

Getting Started

Prepare for local development

This template uses chirripo as local environment.

Generate local settings files (run this command at root of the project):

./scripts/local-settings.sh

Install the requiered dependencies:

composer install --ignore-platform-reqs
npm install

Run the local environemnt (Chirripo Launcher should be installed in order to execute chirripo command globally):

chirripo start

Install the local site (run this command at root of the project):

./scripts/site-install.sh

Enable and configure the Chirripo Proxy.

Start the proxy:

chirripo proxy-up

Import the existing site

Download database in the root of the project, then change the name of the file by db_site.sql.gz

Import the databese:

./scripts/install-from-db.sh

Add the site URL in the settings/settings.local.php file:

$config['stage_file_proxy.settings']['origin'] = 'SITE_URL';

Installed Stuff

You can change any variable defined in the .env file to make adjustments to the provided setup. You can edit the file named docker-compose.override.yml in the root of the project to make more advanced customizations.

Solr

Core is created as collection1.

Solr address is solr.

Path is /.

Testing

This project uses npm to run gulp tasks.

To run drupalcs, phplint and eslint tasks:

npm run test

To compile/transpile Javascript es6:

npm run build:js

To run lighthouse test in front page:

npm run lighthouse

To run lighthouse in a custom url:

node_modules/.bin/lhci autorun --collect.url=CUSTOM_URL

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-09-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固