raini/drupal-ddev-scaffold
Composer 安装命令:
composer create-project raini/drupal-ddev-scaffold
包简介
A Drupal project scaffolded with raini/drupal and DDEV.
README 文档
README
Creates a Drupal project using DDEV and Raini tooling.
Create DDEV Containers
Set up DDEV container and environment for running your project.
ddev config --docroot=docroot --project-type=drupal11 \
--disable-settings-management \
--webserver-type=apache-fpm \
--corepack-enable
Redis or Memcached
Drupal works better when it uses a caching service. Which one you use may depend on the target hosting of your project. Redis is generally recommended, and is the choice for AWS ElasticCache or Pantheon hosting.
Acquia uses Memcached with its hosting and thereforce you should set up your project to use Memcached in order to match the settings.
For a Redis/Valkey cache:
ddev add-on get ddev/ddev-redis
For a Memcached cache:
ddev add-on get ddev/ddev-memcached
Solr
Add Solr Container to DDEV (prefer version 9.x).
ddev add-on get ddev/ddev-solr
Ensure that you are using the version of Solr supported by your target hosting, but where possible use the latest version to get the most recent security updates and feature support.
Copy the solr configset into .ddev/solr/configsets/<core-name> directory. DDEV
will apply the configurations from the configsets directory into Solr cores.
See documentation
for more information about configuring versions and SOLR_MODULES. Generally
the defaults will work for most AWS or Acquia projects with the version 9.x or
newer.
Create & Initialize Project
Using your DDEV CLI container you can run the following commands.
ddev composer create-project --stability=dev raini/drupal-ddev-scaffold
# Command to configure the project and generate a Drupal installation.
ddev raini create
ddev raini generate
This will leverage PHP and PHP Composer installed in the web CLI container provided by DDev.
Additional packages
Hosting Options
- raini/drupal-aws -- Support S3 file & database sync, Secrets Manager and SSM parameters
- raini/acquia -- Setup Acquia hooks, and Acquia compatible settings.php. Support for multi-site.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-07-14