Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.
/ enketo-dristhi Public archive

Customized enketo-core to be used in hybrid Android app called Dristhi

License

Notifications You must be signed in to change notification settings

enketo/enketo-dristhi

Repository files navigation

enketo-dristhi Build Status

Extended enketo-core for use in Dristhi, a hybrid Android app. External Drishti/Android depencies are mocked so it can be run in the browser.

###To use as library:

  1. install node (and npm), grunt-cli, ruby, rubygems, and the sass gem (gem install sass).
  2. clone repo
  3. get (or update) submodules git submodule update --init --recursive
  4. Use grunt to build.
  5. start webserver with grunt server.
  6. go to http://localhost:8080/build/index.html to see list of links to all Dristhi forms
  7. note that the index.html list includes instance=a which belongs to form EC_Registration_EngKan. It will throw load errors in the console for all other forms. Instance=c (is not up-to-date but) can be loaded into PNC_Visit_EngKan
  8. probably use dristhi.css as-is, but
  9. create your own js build system that includes the enketo and androidcontext objects and their dependencies (enketo-dristhi-combined.min.js includes require.js itself so you don't want to use that)

###Related Projects

About

Customized enketo-core to be used in hybrid Android app called Dristhi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published