Drupal 7-based

All UTN’s own websites are based on Drupal7. For these websites a custom template was developed, that could be customized for every committee. The main website contains the bar at the top of the page, containing all links to the other websites, this is automatically used on all the other websites.

Drush

Drush, short for Drupal Shell, is a small tool that can be used to help manage Drupal installations. The application has been installed on Babbage. For full usage, see the documentation, but the following commands can be usefull:

  • drush core-status, shows the core status and locational settings.
  • drush up, update drupal core and modules (including database).

Your working directory needs to be within your drupal installation to execute any drush commands. This is the public/ folder for our installations.

Drush will automatically make backups of the code before installing the new versions.

New Drupal 7 website

Because the template is rather peculiar (to say the least), it is best to start a new Drupal 7 website from an available backup. This backup was provided by the developers of the Drupal 7 template. It is currently available on the GleSYS event server. The process of installing is rather easy:

  1. Copy the files from backup to website location.
  2. Create MySQL database.
  3. Restore the database from the backup SQL file.
  4. Edit the settings in sites/default/settings.php to match the URL and database.
  5. Create/Enable an NGINX configuration for the new website.
  6. Update Drupal, and all installed modules, to the most current version

When using Ansible, steps 2 and 5, and part of step 1 will automatically be done by the drupal7_area role.