Changes between Version 4 and Version 5 of civicrm-admin


Ignore:
Timestamp:
Mar 21, 2014, 8:59:49 AM (5 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • civicrm-admin

    v4 v5  
     1[[PageOutline]]
    12= outreach.mayfirst.org =
    23
     
    1415
    1516If you want to hack:
    16  * Checkout: gitosis@git.mayfirst.org:mfpl/outreach.git
     17 * Checkout: gitosis@git.mayfirst.org:mfpl/outreach.git on your local machine
    1718 * Setup a local Drupal 7 instance in the web directory, creating both Drupal and CiviCRM databases named: mfpl_outre_drup and mfpl_outre_civi
    1819 * Copy civicrm.settings.php from the live site, changing the database passwords and paths
     20 * Run the sync bash script to get up-to-date data in your local install
     21
     22== Synchronizing ==
     23
     24The outreach.mayfirst.org CiviCRM database is synchronized with the [wiki:control-panel red control panel] membership data. It is a one-way sync from the control panel to CiviCRM. It happens in two parts:
     25
     26 * On hay.mayfirst.org, a cron job (/etc/cron.d/red-outreach-sync) executes /usr/local/sbin/mf-dump-membership-data, which places a copy of the membership dump data, in json format, into the home directory of /home/outreach-sync
     27 * On rodolpho (where outreach.mayfirst.org lives) a cron job executes /home/members/mayfirst/sites/outreach.mayfirst.org/users/mfpl-outreach/sync-membership-data, which copies the json data over to rodolpho, and then executes:
     28{{{
     29drush mfc-import-members --import-file=/home/members/mayfirst/sites/outreach.mayfirst.org/users/mfpl-outreach/membership-dumps/members.json
     30drush mfc-import-contacts --import-file=/home/members/mayfirst/sites/outreach.mayfirst.org/users/mfpl-outreach/membership-dumps/contacts.json
     31drush mfc-import-use-accounts --import-file=/home/members/mayfirst/sites/outreach.mayfirst.org/users/mfpl-outreach/membership-dumps/user-accounts.json
     32}}}
     33
     34The drush commands are defined in the mfc drupal module - which is part of the git repo (see above).