Skip to content

Commit

Permalink
Added README
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeymckay committed Nov 24, 2015
1 parent c33a58c commit c5bc21f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
@@ -0,0 +1,16 @@
# coconut-mobile-plugin-zanzibar
Plugins added to Coconut Mobile for project specific features

Coconut Mobile provides the core features for a Coconut based project. Additional features required by a project are added by a plugin. Find the README file in the _attachments directory for deployment instructions.

What this plugin provides
-------------------------

GeoHierarchy - code for using and manipulating the geographic hierarchy of Zanzibar (Zones have districts, districts have shehias..., etc)
FacilityHierarchy - management of the facility list
Case - used to combine multiple results together into a single case (Notification + Facility Record + Household data = Case)

Coconut Mobile Plugin Architecture Described
--------------------------------------------

Coconut plugins are couchdb design documents that get packaged into a single js file (perhaps a single css file as well) and then pushed into the couchdb database for that project. For instance the cloud instance for the project "atlantis-ebola" might be found at http://cococloud.co/atlantis-ebola. The plugin should then exist at http://cococloud.co/atlantis-ebola/_design/coconut-mobile-plugin-atlantis-ebola. Then during installation or updating of the project "atlantis-ebola" on http://mobile.cococloud.co, the plugin file(s) will be replicated and eval'd during application initiation.

0 comments on commit c5bc21f

Please sign in to comment.