Aller directement à la fin des métadonnées
Aller au début des métadonnées

D8 installation via Composer is possible.

CiviCRM installation via Composer with D8 is possible (https://www.mydropwizard.com/blog/how-install-civicrm-drupal-8-and-why-choose-it-over-pure-drupal-crm).

CiviCRM extension installation via Composer would be a good thing (c) too.

As of August 2017 the process for installing CiviCRM with composer for Drupal is (https://www.mydropwizard.com/blog/how-install-civicrm-drupal-8-and-why-choose-it-over-pure-drupal-crm):

  1. Download and install Drupal 8.3.x (or the latest dev of Drupal 8.4.x!)
  2. Go into the root directory in the shell and run these commands(link is external) to install CiviCRM via composer (one day this will just be composer require civicrm/civicrm-core). Assuming you have composer, bower, git and wget, you should be able to just copy-and-paste those commands into the command-line.
  3. If you use Apache, remove the 'vendor/.htacess' file. This is a security measure from Drupal, which prevents resources like CSS/JS being loaded. This will need some collaboration with the Drupal project to figure out a proper solution for because removing this file altogether is a bad idea on production. See: https://www.drupal.org/node/2896308(link is external)
  4. Go into the /modules directory and do: git clone https://github.com/dsnopek/civicrm-drupal.git --branch composer-library
  5. Go to the "Extend" page (at /admin/modules) and install the CiviCRM module
  6. Log out and log back in again per CRM-19878(link is external)
  7. CiviCRM works!

After a process like this, or a shortened one like:

composer require civicrm/civicrm-core

we want to be able to install civicrm extensions with a command like:

$ composer require mr-vara/me.vara.civicasestatusupdate

$ composer require civicrm/org.civicrm.volunteer:4.7.21-2.2.2


Étiquette
  • Aucun

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.