Difference between revisions of "Drupal"
Jump to navigation
Jump to search
(Adds druplicon from commons) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[File:Druplicon.vector.svg|right|link=Category:Drupal|Druplicon|240px]] | |
− | + | See the [[Drupal/cheatsheet]] | |
− | See [ | + | See also [[Using git with drupal]] |
− | + | == Upgrade == | |
− | + | You need to upgrade Drupal like you brush your teeth... at least once or twice a day. | |
− | |||
+ | <source lang="bash"> | ||
+ | cd /var/www/equality-tech.com/www/drupal | ||
+ | drush vset maintenance_mode 1 | ||
+ | ~/bin/backup.db.sh civicrm | ||
+ | ~/bin/backup.db.sh drupal | ||
+ | cp .htaccess .htaccess.mine | ||
+ | drush up | ||
+ | mv .htaccess.mine .htaccess | ||
+ | drush vset maintenance_mode 0 | ||
+ | </source> | ||
[[Category:CMS]] | [[Category:CMS]] | ||
[[Category:Drupal]] | [[Category:Drupal]] |
Revision as of 11:17, 22 February 2016
See the Drupal/cheatsheet
See also Using git with drupal
Upgrade[edit | edit source]
You need to upgrade Drupal like you brush your teeth... at least once or twice a day.
cd /var/www/equality-tech.com/www/drupal
drush vset maintenance_mode 1
~/bin/backup.db.sh civicrm
~/bin/backup.db.sh drupal
cp .htaccess .htaccess.mine
drush up
mv .htaccess.mine .htaccess
drush vset maintenance_mode 0