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, 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).When using drush you must be in the public/
folder.
Drush will automatically make backups of the code before installing the new versions.
If you need to create a new admin account you can do so with drush using these commands:
drush user-create username --mail="mail@example.se" --password="your_password";
drush user-add-role "administrator" username;
Instructions on how to setup a new website with Drupal 7 can be found in the guides.