Drupal

Aus Free Software
Version vom 17. Juli 2015, 12:31 Uhr von Mati (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „The source code for Drupal is stored in <code>/var/src/drupal</code>. Every domain hosted has to have a symlink to it in <code>/var/www/<domain></code> (since…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

The source code for Drupal is stored in /var/src/drupal. Every domain hosted has to have a symlink to it in /var/www/<domain> (since Apache assumes the DocumentRoot is there).

Multiple sites

All configuration (including uploaded files and possibly modules/themes that are only installed for one site) is located in sites/<domain>/. Modules available to all sites are available in sites/all/. The latter is also the default location where drush installes modules and themes.

Drush cheatsheet

Update Drupal core, contrib projects and update database

drush up

Run updatedb for specific site

drush -l updatedb