Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
foundation:gsoc_tahir [2010/06/29 20:40]
amertahir
foundation:gsoc_tahir [2010/07/07 19:47] (current)
amertahir
Line 17: Line 17:
   * [[https://code.launchpad.net/~amertahir/sahana-eden/sync|Launchpad Branch]]   * [[https://code.launchpad.net/~amertahir/sahana-eden/sync|Launchpad Branch]]
   * [[http://sync.eden.sahanafoundation.org/eden/|Demo instance 1]]   * [[http://sync.eden.sahanafoundation.org/eden/|Demo instance 1]]
-  * [[http://view.lums.edu.pk:8000/eden/|Demo instance 2]]+  * [[http://view.lums.edu.pk:8001/eden/|Demo instance 2]]
  
 ===== How To Use ===== ===== How To Use =====
Line 23: Line 23:
 Do "bzr checkout lp:~amertahir/sahana-eden/sync" (without quotes) to get the latest source-code from repository. Then rename the sync directory to eden and place it under your web2py applications directory. That's all, now fire up your browser and open http://127.0.0.1:8000/eden/ to get started :) Do "bzr checkout lp:~amertahir/sahana-eden/sync" (without quotes) to get the latest source-code from repository. Then rename the sync directory to eden and place it under your web2py applications directory. That's all, now fire up your browser and open http://127.0.0.1:8000/eden/ to get started :)
  
-NOTE: the demo instances (specified above) could also be used to test out sync (use username: admin@localhost and password: admin to login)+NOTE: the demo instances (specified above) could also be used to test out sync (use username: admin@example.com and password: admin to login)
  
 == Getting Started == == Getting Started ==
Line 36: Line 36:
 Sync Partners are instances that you wish to sync with. They could be deployed on SahanaEden, SahanaAgasti, Ushahidi or possibly any platform that SahanaEden can talk to (currently Eden, Agasti and Ushahidi are supported). Sync Partners are instances that you wish to sync with. They could be deployed on SahanaEden, SahanaAgasti, Ushahidi or possibly any platform that SahanaEden can talk to (currently Eden, Agasti and Ushahidi are supported).
  
-Before you can start syncing, you need to define sync partners. This can be done by going to the Sync Partners page. You can either search for partners or add them manually (right now only manual additions are supported). Every sync partner has a +Before you can start syncing, you need to define sync partners. This can be done by going to the Sync Partners page. You can either search for partners or add them manually (right now only manual additions are supported). Every sync partner has a UUID (0 for non-Eden instances), instance URL (e.g. http://sync.eden.sahanafoundation.org/eden), instance type (Eden/Agasti/Ushahidi/etc.) and Sync Policy. Sync policies other than "No Sync" only come into play when the data that is imported also exists locally. It could be the case that local data is modified after the last sync with this peer (Local is newer), similar for remote data (Remote is newer) or both have been modified (either of them is newer). So, to decide how to resolve such 'conflicts' automatically, you can select one of the sync policies. If you want to manually resolve such conflicts, select "Choose Manually"
 + 
 +== Sync Schedules == 
 +To automate the sync process, you can define sync jobs. Sync Jobs are individual syncing processes with sync partners that you like. So, if I want to sync "Person Registry" with some sync partner, I would just create a new sync job and select "Person Registry" and the sync partner I want to sync with. Along with that, I would specify the scheduled time for the job to run, either daily, weekly, hourly or just once. 
 + 
 +You can define multiple sync jobs for a particular sync partner, specifying resources to sync and sync policies individually for each of the sync jobs. By default, only resources modified after the last sync operation (new data) are synced. This is similar to differential backups. However, if you want to sync all data, you can specify "Complete Sync" in the job settings. 
 + 
 +\\ 
 +** This section is a work in progress and would be updated as development is carried out on this project **
  
 ===== Progress ===== ===== Progress =====

Navigation
QR Code
QR Code foundation:gsoc_tahir (generated for current page)