New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adminteractive/adm-project

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adminteractive/adm-project

Project template for ADM distribution

project
Source
Packagist
Version
9.x-dev
Version published
Total downloads
175
Maintainers
1
Created
Source

Composer template for ADM Distribution

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 or robots.txt.
  • Commit everything all together in a single commit, so web will remain in sync with the core when checking out branches or running git 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).

FAQs

Package last updated on 05 Sep 2020

Related posts