opengov / basic-project
为加拿大政府的基本项目提供的Composer项目模板
dev-master
2019-10-16 19:40 UTC
Requires
- php: >=7.1
- composer/installers: ^1.2
- cweagans/composer-patches: ^1.6.5
- drupal-composer/drupal-scaffold: ^2.5
- drupal/console: ^1.0.2
- drupal/core: ^8.7.0
- drush/drush: ^9.0.0
- opengov/basic: dev-master
- vlucas/phpdotenv: ^2.4
- webflo/drupal-finder: ^1.0.0
- webmozart/path-util: ^2.3
- zaporylie/composer-drupal-optimizations: ^1.0
Requires (Dev)
- webflo/drupal-core-require-dev: ^8.7.0
Conflicts
- drupal/drupal: *
- symfony/http-foundation: 3.4.24
This package is auto-updated.
Last update: 2024-09-17 06:34:37 UTC
README
该项目模板为使用Composer管理您的站点依赖项提供了一个入门工具包,并应用了WET-BOEW GCWeb主题。
用法
- 安装composer。
可选 - 全局composer安装。如果跳过,您可能需要将您的设置中的composer
替换为php composer.phar
。
- 创建项目
composer create-project opengov/basic-project:dev-master MYPROJECT --no-interaction
- 使用界面安装,选择“基本”作为您的安装配置文件。作为替代,您也可以使用drush进行安装
drush site:install basic
模板会做什么?
模板将设置
- 在
html/core
目录中的Drupal核心。 - 在
html/profiles
目录中的配置文件。 - 在
html/modules/contrib
目录中的贡献模块。 - 在
html/libraries
目录中的WET-BOEW库。 - 在
html/themes
目录中的主题,并将GCWeb设置为默认主题。 - 在
html/sites/default
目录中的settings.php
和services.yml
。 - 在
vendor/bin/drush
目录中的Drush。 - 在
vendor/bin/drupal
目录中的DrupalConsole。