teamdeeson / vdd

Mirror of http://drupal.org/project/vdd provided by hubdrop.
http://hubdrop.io
GNU General Public License v2.0
2 stars 5 forks source link

Add optional ability to install drupal into a subfolder #17

Closed johnennewdeeson closed 7 years ago

johnennewdeeson commented 9 years ago

It is occasionally required to have Drupal in a subfolder with other resources / scripts in the true site docroot.

i.e. assuming myproject ....

Project root ~/Sites/myproject.dev Web docroot ~/Sites/myproject.dev/docroot Drupal docroot ~/Sites/myproject.dev/docroot/drupal

Suggesting the following optional _drupal_subfolder line for the site in config.json. Omitting this option assumes the docroot is at the _documentroot as is currently the case.

  "myproject": {
    "account_name": "root",
    "account_pass": "root",
    "account_mail": "box@example.com",
    "site_name": "myproject.dev",
    "site_mail": "box@example.com",
    "type": "drupal7",
    "vhost": {
      "document_root" : "myproject.dev/docroot",
      "drupal_sub_folder" : "drupal",
      "url": "myproject.dev",
      "alias": ["www.myproject.dev"]
    }
  }
johnennewdeeson commented 9 years ago

Still need to provide code for apache config and D6/D8 template updates

johnennewdeeson commented 7 years ago

this is already in there