druidfi/mona

This package is abandoned and no longer maintained. No replacement package was suggested.

Example setup using mona-plugin

Maintainers

Details

github.com/druidfi/mona

Source

Issues

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 2

Language:Makefile

Type:project

dev-master 2020-05-24 06:39 UTC

This package is auto-updated.

Last update: 2020-11-11 11:22:39 UTC


README

Installing Drupal 7 codebase with Composer instead of Drush Make.

Travis CI

Features

  • Loads Drupal 7 core
  • Loads Drupal contrib modules
  • Loads Drupal contrib themes
  • Loads latest Drush 8
  • Loads Drush extensions
  • Loads libraries e.g. CKEditor
  • Patches any package
  • Symlinks all relevant files and folder from vendor to public
  • Includes Amazee.io local development environment with Docker
  • Travis tested

How this differs from drupal-composer/drupal-project:7.x ?

  • Mona is a little more opinionated than drupal-project
  • Require PHP 7.1 or newer (Drupal 7 got full PHP 7.2 support with 7.61)
  • Mona copies Drupal core files and folders to webroot
  • Mona uses symlinking plugin, drupal-project uses preserve-paths plugin
  • Mona includes Docker development environment from Amazee.io

You can find drupal-composer/drupa-project:7.x here: https://github.com/drupal-composer/drupal-project/tree/7.x

Create a new project with Mona

$ composer create-project druidfi/mona:dev-master YOUR_PROJECT --no-interaction

How to add a new module or theme

Require a new module (latest version):

$ composer require drupal/pathauto

Or certain version:

$ composer require 'drupal/pathauto:^1.3'

Default symlinking configuration

{
  "extra": {
      "mona-plugin": {
          "symlinks": {
              "vendor/ckeditor": "public/sites/all/libraries/ckeditor"
          }
      }
  }
}

How to patch

{
  "extra": {
    "patches": {
      "drupal/drupal": {
        "https://www.drupal.org/i/1232572": "https://www.drupal.org/files/issues/1232572-76.drupal-7.disable-file-permissions-fix.patch"
      }
    }
  }
}

Where the name "Mona" comes from?

Mona was the island of the Celts and their priests, the druids. It was the name of Isle of Anglesey from Roman times. Our Drush Make based tool is called "Mana" so this is also close to that.

Other information

This project is found from the Packagist: https://packagist.org/packages/druidfi/mona