« Drush » : différence entre les versions
Aller à la navigation
Aller à la recherche
(Page créée avec « '''Drush''' is a command tool to maintain Drupal installations. == Install it == '''Note:''' It's installed on both Grip and wolfplex.hackerspaces.be servers. cd ~... ») |
(Archive) |
||
Ligne 1 : | Ligne 1 : | ||
'''This page is kept for historical reasons. We don't use Drupal anymore.''' | |||
'''Drush''' is a command tool to maintain [[Drupal]] installations. | '''Drush''' is a command tool to maintain [[Drupal]] installations. | ||
Version du 3 avril 2015 à 22:23
This page is kept for historical reasons. We don't use Drupal anymore.
Drush is a command tool to maintain Drupal installations.
Install it
Note: It's installed on both Grip and wolfplex.hackerspaces.be servers.
cd ~/src git clone --branch 7.x-4.x http://git.drupal.org/project/drush.git drush chmod +x drush ln -s drush/drush ~/bin/drush rehash #if you use csh or tcsh
Troubleshooting
A module has broken the site
- Procedure
- Go to the Drupal directory
- Print the modules list to get the name of your module (pm-list)
- Disable it (pm-disable <module name>)
cd /home/wwwroot/wolfplex.org/www/drupal/ drush pm-list drush pm-disable faq
- Tip
- You can filter the list with grep:
drush pm-list | grep faq