Drush
This page is kept for historical reasons. We don't currently use Drupal for the www. site. Furthermore, this is intended for Drupal 7.
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 /var/wwwroot/wolfplex.be/www/drupal/ drush pm-list drush pm-disable faq
- Tip
- You can filter the list with grep:
drush pm-list | grep faq