2017 © Pedro Peláez
 

composer-plugin config

Configuration for the govCMS Drupal distribution

image

govcms/config

Configuration for the govCMS Drupal distribution

  • Sunday, May 21, 2017
  • by joseph.zhao
  • Repository
  • 1 Watchers
  • 0 Stars
  • 74 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 111 % Grown

The README.md

govCMS8

govCMS8 logo, (*1)

Build Status, (*2)

govCMS8 is the Drupal 8-specific version of the govCMS distribution., (*3)

govCMS is an open source web content management and hosting service, based on Drupal and developed to help agencies create modern, affordable and responsive websites, whilst making it easier to collaborate and innovate. govCMS also helps reduce the technology and compliance burden on government agencies. GovCMS is managed by the Australian Government Department of Finance., (*4)

Installation - End User

A copy of govCMS8 can be installed in a number of different ways:, (*5)

Acquia Cloud (Free/Professional/Enterprise)

Once you have provisioned an environment (you may have to select "None" as a distribution when you first provision it), you can follow the instructions at https://docs.acquia.com/acquia-cloud/create/install and in the Install Drupal from URL dialog, enter the URL:, (*6)

https://ftp.drupal.org/files/projects/govcms8-8.x-6.x-dev-core.tar.gz

simplytest.me

For a quick demo instance, you can launch a (24-hour only) sandbox at http://simplytest.me/project/govcms8/8.x-6.x, (*7)

Back to top, (*8)

Installation - Developer

For an easy, one-line, dev setup see 'Automated Default Dev Setup' wiki page., (*9)

govCMS8 utilizes Composer to manage its dependencies. So, before using govCMS8, make sure you have Composer installed on your machine., (*10)

For best performance, we recommend adding Prestissimo to your global Composer before installing govCMS8, as it enables dependencies to load in parallel, significantly reducing the install time., (*11)

composer global require "hirak/prestissimo:^0.3"

Via Composer Create-Project

Composer will create a new directory called MY_PROJECT containing a docroot directory with a full govCMS code base therein., (*12)

composer create-project --stability dev --prefer-dist govcms/govcms8-project MY_PROJECT

Composer create-project is the same as doing a git clone, followed by a composer install., (*13)

Installation from source

git clone -b 1.x git@github.com:govCMS/govCMS8.git
cd govCMS8
composer install

To develop on or patch against govCMS8, the source files should be downloaded and the project built., (*14)

Other Platforms

Additional platform instructions are available in the wiki (https://github.com/govcms/govCMS8/wiki). If you can contribute more methods, please let us know., (*15)

Back to top, (*16)

Technical Overview

govCMS8 comprises a number of repositories and projects:, (*17)

govCMS8

  • This hosts the current development release of the govCMS8 distribution, intended for distribution development only.
  • This can either be required by composer (as in govCMS8-project) or git cloned.

govCMS8-project

  • This is a Composer based installer, intended for end-user/theme developer installation of govCMS8.
  • For theme and custom module developers, this is the best way to install govCMS8.
  • This is the entry point for most users to govCMS8.

govCMS8-uikit-starter

  • Implements the DTA Design System UI Kit
  • Is bundled as as part of building a govCMS8-project
  • Theme developers should inherit designs/components from the UI Kit to take advantage of future/upstream updates

Old/archived projects that were once part of the govCMS8 distro, (*18)

govCMS8-UI

  • This is a Drupal 8 theme, built into govCMS8, but usable on any Drupal 8 site.
  • Anyone who wants to use, develop from, or contribute to the default govCMS8 theme should start here.

Back to top, (*19)

Server Requirements

  • Apache, Nginx, Microsoft IIS or any other web server with proper PHP support
  • MySQL 5.5.3/MariaDB 5.5.20/Percona Server 5.5.8 or higher with PDO and an InnoDB-compatible primary storage engine
  • PostgreSQL 9.1.2 or higher with PDO
  • SQLite 3.7.11 or higher
  • PHP Version 7.1.* or higher
  • Git
  • Composer

Back to top, (*20)

Troubleshooting and Contributing

If you're encountering some oddities, here's a list of resolutions to some of the problems you may be experiencing., (*21)

Contributing to govCMS

All contributions to govCMS8 are welcome. Issues and pull requests may be submitted against the relevant govCMS8 project on github where they will be addressed by the govCMS team., (*22)

Patching govCMS

Because govCMS is a Drupal distribution, modules and configurations are not added directly to the codebase. Rather, they are referenced within the composer.json file., (*23)

Any alterations to Drupal core or contributed modules must have an associated drupal.org issue filed against the project in question. Modifications should be made directly to the project in question and patched into govCMS rather than made directly against govCMS., (*24)

It is a requirement for any patches to govCMS8 to pass all automated testing prior to manual review. The automated testing checks for PHP syntax, coding standards, build completion and runs behavioural tests. It is also desirable that additions to the codebase add behat tests to ensure no regressions occur once committed., (*25)

To submit a patch, the govCMS8-core project should be forked and changes applied to a branch on the forked repository. Once all changes are applied, a pull request between govCMS8-core and the branch of the fork may be created., (*26)

Back to top, (*27)

The Versions

21/05 2017

8.x-dev

8.9999999.9999999.9999999-dev

Configuration for the govCMS Drupal distribution

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

govcms

31/03 2017

dev-8.x-3.x

dev-8.x-3.x

Configuration for the govCMS Drupal distribution

  Sources   Download

GPL-2.0+

govcms