Webapp-config howto

From thelinuxwiki
Revision as of 18:22, 17 May 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

new drupal deployment to virtual host

webapp-config -I -h example.com drupal 7.14

list existing

webapp-config --list-installs


remove site

example of a drupal virtual server removal

# webapp-config --clean -h example.com
* Removing drupal-7.14 from /var/www/example.com/htdocs
*   Installed by root on 2012-05-31 22:48:53
*   Config files owned by 0:0
!time sites/default/settings.php
!empty sites/all/themes
!empty sites/default
!empty sites/all
!empty sites


webapp-config to update the site to the new version of drupal.

Flags: -U update, -h host -d directory

EXAMPLE:

webapp-config -U -h example.com -d example.com/ drupal 7.9

- update the config files

  EXAMPLE: CONFIG_PROTECT="/var/www/example.com/htdocs/sites/default" etc-update