Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save eileenmcnaughton/31e774fd023cfc24b60cf33ed4e3623d to your computer and use it in GitHub Desktop.

Select an option

Save eileenmcnaughton/31e774fd023cfc24b60cf33ed4e3623d to your computer and use it in GitHub Desktop.
Drupal 7 -> Standalone migrate recipe
In our case we started with a folder structure
->our root(git root)->drupal (webroot)
We decided to use our root as the new webroot - and to transitionally enable BOTH sites ie
- standalone in our root
- drupal 7 in root/drupal (as prior)
1) We moved root/drupal/sites/all/modules/civicrm to root/core and created a symlink where it used to be
2) We moved root/drupal/sites/default/civicrm/extensions to root/private and created a symlink where it used to be
3) we ran the standalone install in the root to create additional files (notably root/civicrm.standalone.php)
4) We updated the file in private/civicrm.settings.php to point to the SAME database as the drupal site
5) We enabled our standaloneusers on our drupal7 site with [this patch](https://github.com/civicrm/civicrm-core/pull/32949) to make it non-destructive & this patch https://gerrit.wikimedia.org/r/c/wikimedia/fundraising/crm/+/1155365 to create the users
- at this point the site runs on both CMS at different urls using the same code base & db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment