Difference between revisions of "Updating support.uspirates.org"

From United States Pirate Party
Jump to navigation Jump to search
(Created page with "== Composer == We use [https://getcomposer.org/download/ composer] to update our Drupal/CiviCRM components. To run it, use: '''php composer.phar''' == Update Drupal == *...")
 
 
Line 3: Line 3:
 
We use [https://getcomposer.org/download/ composer] to update our Drupal/CiviCRM components.  
 
We use [https://getcomposer.org/download/ composer] to update our Drupal/CiviCRM components.  
  
To run it, use:
+
To run it, use ''php composer.phar'' in place of ''composer''.
 
 
'''php composer.phar'''
 
  
 
== Update Drupal ==
 
== Update Drupal ==

Latest revision as of 21:52, 23 June 2022

Composer

We use composer to update our Drupal/CiviCRM components.

To run it, use php composer.phar in place of composer.

Update Drupal

  • php composer.phar outdated "drupal/*"
  • php composer.phar show drupal/core-recommended
  • php composer.phar update "drupal/core-*" --with-all-dependencies
  • git add .
  • git commit -m "Updated to Drupal X.Y.Z"

Some useful notes on updating Drupal.

Update CiviCRM

  • php composer.phar outdated "civicrm/*"
  • php composer.phar show civicrm/civicrm-core
  • php composer.phar update "civicrm/civicrm-core" --with-all-dependencies
  • git add .
  • git commit -m "Updated to CiviCRM X.Y.Z"

Some useful notes on CiviCRM installation.