Enhanced Drupal 10 profile to kickstart a website.
This project is meant to be a starting point for a developer, not a ready to use Drupal with functionalities. For more advanced profiles see:
- Third party libraries download with Asset packagist
- Drupal basic configuration with Dev / Prod environment, see Workflow readme
- Creates environment variables based on your .env file. See .env.example, inspired from drupal-project
- Some patches for core
- A Full Gitlab-CI support for build, tests, code quality, linting, metrics and deploy, see Gitlab-CI for Drupal
Require Composer 2+ with Php 8.1+ and Php modules needed for composer.
Get and install this project
composer create-project mog33/drupal-composer-advanced-template:10.x drupal --stability dev --no-interaction
Set /web as root of your host (Apache).
Other folders (eg: vendor) should be accessible by Webserver user and not from HTTP.
-
Create a database and a user access to this database.
-
Fix files and folder permissions of /web folder regardless of Securing file permissions and ownership
-
Edit
.env
and selectSETTINGS_ENVIRONMENT
value, dev will enable development modules and settings -
Install Drupal and choose profile Use existing configuration
This project include a simple Docker stack based on great project Ddev.
Install Ddev
On linux:
make install