Difference between revisions of "Webapp-config howto"

From thelinuxwiki
Jump to: navigation, search
(Pushed from Themanclub.)
 
(list existing)
 
Line 6: Line 6:
 
== list existing  ==
 
== list existing  ==
  
  webapp-config --list-installs
+
  webapp-config -V --list-installs
 
+
  
 
== remove site ==
 
== remove site ==

Latest revision as of 17:55, 28 May 2013

new drupal deployment to virtual host

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

list existing

webapp-config -V --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