How to do Drupal Core updates with Drupal Commerce
I can't find any information about updating the Drupal Core (7.28 is now available and the system is screaming for it - you know how it is). Since I have never worked with a distribution before, I'm not sure just how to go about this and I certainly don't want to break Drupal Commerce. Is this done just like any other core update or do I have to do anything special to protect commerce, other than the normal backups etc.? I could just go ahead and do it - I'm only running a test site at this point - but this would be very helpful to know.
Comments
I updated my Drupal core to 7.28 today via Drush. For example you have this website: www.yourdomain/drupalcommerce
From the terminal, ssh to your site. Cd to the www folder and install Drush there by the following commands:
- git clone https://github.com/drush-ops/drush.git
- pwd to check your Drush path, for example in this case: /home5/www/drush/drush
- Chmod u+x /home5/www/drush/drush
Install composer on the drush folder:
- curl -sS https://getcomposer.org/installer | php
From Drush folder, run Composer to fetch dependencies
- Php-cli /home5/www/drush/composer.phar install
- Update Drupal core
In drupal folder execute this command
/home5//www/drush/drush up drupal