adminteractive / adm-project
Project template for ADM distribution
Requires
- adminteractive/adm: dev-8.x-7.x
- bower-asset/photoswipe: ^4.1
- composer/installers: ^1.2
- cweagans/composer-patches: ^1.6
- drupal-composer/drupal-scaffold: ^2.2
- drupal/console: ^1.0.2
- drupal/core: ~8.7
- drupal/drupal-library-installer-plugin: 0.3
- drush/drush: ~8.0|^9.0.0-beta8
- vardot/dropzone: dev-master
- webflo/drupal-finder: ^1.0.0
- webmozart/path-util: ^2.3
Requires (Dev)
- behat/mink: ~1.7
- behat/mink-goutte-driver: ~1.2
- jcalderonzumba/gastonjs: ~1.0.2
- jcalderonzumba/mink-phantomjs-driver: ~0.3.1
- mikey179/vfsstream: ~1.2
- phpunit/phpunit: >=4.8.28 <5
- symfony/css-selector: ~2.8|~3.0
Conflicts
This package is auto-updated.
Last update: 2024-12-06 01:16:48 UTC
README
This distribution is based on Drupal 9.
Usage
To create a project based on ADM Distribution:
composer create-project adminteractive/adm-project:9.x-dev some-dir --stability dev --no-interaction
The composer create-project
command passes ownership of all files to the
project that is created. You should create a new git repository, and commit
all files not excluded by the .gitignore file.
Updating Drupal Core
Follow the steps below to update your core files.
- Run
composer update drupal/core --with-dependencies
to update Drupal Core and its dependencies. - Run
git diff
to determine if any of the scaffolding files have changed. Review the files for any changes and restore any customizations to.htaccess
orrobots.txt
. - Commit everything all together in a single commit, so
web
will remain in sync with thecore
when checking out branches or runninggit bisect
. - In the event that there are non-trivial conflicts in step 2, you may wish
to perform these steps on a branch, and use
git merge
to combine the updated core files with your customized files. This facilitates the use of a three-way merge tool such as kdiff3. This setup is not necessary if your changes are simple; keeping all of your modifications at the beginning or end of the file is a good strategy to keep merges easy.
Common problems
Update failed (The .git directory is missing from [path], see https://getcomposer.org/commit-deps for more information)
This is normal when the dependency is installed through git (.git directories are removed by default; dev dependencies usually come through git). Composer should offer an option to reinstall the package, so just agree with that.
Cannot apply patch [patch]!
The patch is already applied or the code have changed. You should look into the related issue. Issue number is always in patch url (it usually includes the comment number also).