universityofadelaide / sm-scaffold

Composer plugin for updating the Site Manager deployment files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

University of Adelaide Site Manager Scaffold

This composer plugin provides the tools required to make a Drupal project deployable on the Site Manager Docker system, and keeps them up to date whenever composer update is run.

Requirements

You must be running Drupal 8, and implement the Drupal composer workflow.

Setup

In your Drupal project, require this repository using composer.

composer require universityofadelaide/sm-scaffold dev-master

If you do not notice the tool files download during the update part of the composer run, you may need to update composer, or add the following items to your project's composer.json:

"scripts": {
  "sm-scaffold": "UniversityOfAdelaide\\SiteManagerScaffold\\Plugin::scaffold",
  "post-update-cmd": [
    "@sm-scaffold",
  ]

Usage

Once setup, running composer update will fetch the latest version of the Site Manager utility files (i.e. RoboFileBase.php, dsh, etc).

You will need to add and commit these files to your own project repository.

About

Composer plugin for updating the Site Manager deployment files.


Languages

Language:PHP 72.6%Language:Shell 27.4%