Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gatoona committed Mar 27, 2021
0 parents commit ac8b8cc
Show file tree
Hide file tree
Showing 13 changed files with 7,731 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Files and directories suggested to be ignored by Drupal
# @see https://git.drupalcode.org/project/drupal/-/blob/9.2.x/example.gitignore
/docroot/core
/vendor/
/docroot/sites/*/settings*.php
/docroot/sites/*/services*.yml
/docroot/sites/*/files
/docroot/sites/*/private
/docroot/sites/simpletest

# Directories specific to this template
/docroot/libraries
/docroot/modules/contrib
/docroot/profiles/contrib
/docroot/themes/contrib
/.editorconfig
/.gitattributes
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Acquia Drupal Minimal Project
====

This project template provides a minimal Drupal 9 application to be hosted on Acquia. It is based on the [Drupal Recommended Project](https://github.com/drupal/recommended-project/tree/9.0.x), with the principal difference being a relocated docroot for compatibility with Acquia hosting. It includes only essential dependencies and configuration to install and host Drupal 9 on Acquia.

This project targets experienced developers who prefer to build a new application from the ground up. If you prefer a more complete out-of-the-box Drupal 9 experience on Acquia Cloud, consider trying the [Acquia Drupal Recommended Project](https://github.com/acquia/drupal-recommended-project) instead.

## Installation and usage

Create a new project using Composer:
```
composer create-project --no-interaction acquia/drupal-minimal-project
```

Once you create the project, you can and should customize `composer.json` and the rest of the project to suit your needs. You will receive updates from any dependent packages, but not from the project template itself. It's yours to keep!

For instance, you can add a new package by running the following command and committing the changed `composer.json` and `composer.lock` to Git:
```
composer require acquia/blt
```

# License

Copyright (C) 2020 Acquia, Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12 changes: 12 additions & 0 deletions acquia-pipelines.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 1.1.0
services:
- php:
version: 7.4
events:
build:
steps:
- composer:
type: script
script:
# The composer create project files and settings.php db and profile configurations have been provided in the tutorial branch or release. We only need run composer.
- composer install --no-progress
82 changes: 82 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"name": "acquia/drupal-minimal-project",
"description": "Minimal Acquia-compatible Drupal application based on the Drupal Recommended Project",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Acquia Engineering",
"homepage": "https://www.acquia.com",
"role": "Maintainer"
}
],
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
},
"require": {
"composer/installers": "^1.9",
"cweagans/composer-patches": "^1.6",
"drupal/core-composer-scaffold": "^9",
"drupal/core-recommended": "^9",
"drush/drush": "^10.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "docroot/"
},
"file-mapping": {
"[web-root]/sites/default/default.services.yml": {
"mode": "replace",
"path": "docroot/core/assets/scaffold/files/default.services.yml",
"overwrite": false
},
"[web-root]/sites/default/default.settings.php": {
"mode": "replace",
"path": "docroot/core/assets/scaffold/files/default.settings.php",
"overwrite": false
}
},
"gitignore": true
},
"installer-paths": {
"docroot/core": [
"type:drupal-core"
],
"docroot/libraries/{$name}": [
"type:drupal-library"
],
"docroot/modules/contrib/{$name}": [
"type:drupal-module"
],
"docroot/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"docroot/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"docroot/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"docroot/themes/custom/{$name}": [
"type:drupal-custom-theme"
]
},
"enable-patching": true,
"patchLevel": {
"drupal/core": "-p2"
},
"patches": {}
}

}
Loading

0 comments on commit ac8b8cc

Please sign in to comment.