ec-europa / 子站
子站模板,用于启动使用工具包的新子站项目。
dev-release/10.x
2023-03-09 08:05 UTC
Requires
- php: >=8.1
- composer/installers: ^2.2
- cweagans/composer-patches: ^1.7
- drupal/core: ^10
- drupal/core-composer-scaffold: ^10
- drush/drush: ^10 | ^11
Requires (Dev)
- behat/mink-goutte-driver: ^1.0 || ^2.0
- drupal/core-dev: ^10
- drupal/drupal-driver: ^2.2.0
- drupal/drupal-extension: ~4.0 || ^5
- ec-europa/toolkit: ^9.2
Conflicts
This package is auto-updated.
Last update: 2024-09-09 11:20:37 UTC
README
欧洲委员会的开放欧洲IT平台是数字转型计划的技术方面。此Composer项目包含用于构建项目的子站模板。
选择正确的版本
为每个Drupal核心版本提供特定的分支。
- 注意:这些是您可以配置的默认值。
安装
NextEuropa项目的构建系统打包在以下工具包中:[ec-europa/toolkit](https://github.com/ec-europa/toolkit#user-guide-and-documentation)。这是设置项目所需的唯一Composer包。要启动新项目,您可以执行以下命令(将分支替换为符合您需求):
git clone git@github.com:ec-europa/subsite.git --branch=release/9.x project-folder-name cd project-folder-name docker-compose up -d docker-compose exec web composer create-project
这将克隆当前仓库并安装工具包。完成后,模板仓库的.git/文件将被删除。这设置了一个干净的工具包,您可以在其上git init
自己的项目。有关工具包使用的任何信息,请参阅其文档:[ec-europa/toolkit](https://github.com/ec-europa/toolkit#user-guide)