## In a nutshell, how to update a module from Drupal contrib,
## on a production site that is under revision control (subversion).
# If you turn on a module (that just happens to already be
# present in the list on admin/build/modules), then you MUST
# 1) go to the update status page
# 2) find out if the module you just turned on is up to date
# 3) if it is, fine (your done! stop here),
# 4) if there are updates... then go to the drupal.org site first
# to see if there are any "gotchas" for the upgrade. As you'll
# be turning the module on for the first time on a new site,
# then you shouldnt have to worry too much.
# 5) To run the updates: login via ssh
ssh username@server.com
# 6) go to the right folder and execute drush update
cd domains/example.com/public_html/sites/all/modules
drush --uri=example.com update modulename
# 7) confirm that the update was successful on the site
# 8) then check in the code
svn commit -u username -m "updated modulename to the latest version"
bash
1
## In a nutshell, how to update a module from Drupal contrib, ## on a production site that is under revision control (subversion).# If you turn on a module (that just happens to already be# present in the list on admin/build/modules), then you MUST# 1) go to the update status page# 2) find out if the module you just turned on is up to date# 3) if it is, fine (your done! stop here), # 4) if there are updates... then go to the drupal.org site first# to see if there are any "gotchas" for the upgrade. As you'll# be turning the module on for the first time on a new site,# then you shouldnt have to worry too much.# 5) To run the updates: login via ssh
ssh username@server.com
# 6) go to the right folder and execute drush updatecd domains/example.com/public_html/sites/all/modules
drush --uri=example.com update modulename
# 7) confirm that the update was successful on the site# 8) then check in the code
svn commit -u username -m "updated modulename to the latest version"
Hey there! I see you're running Internet Explorer 6.
That's neat. This reminds me of my grandpa. He had this old car that he kept having to fix. He spent so much money on it that he didn't want to get rid of it (even when it stopped running).
0 Comments