Git checkout Enketo-Dristhi repository as as sibling to Dristhi app
Follow the steps mentioned in Enketo-Dristhi’s Readme.md to setup Enketo-Dristhi to run locally
Update Enketo-Dristhi
To update Enketo, first update Enketo-Dristhi by running git pull --rebase
Update all the git submodules by running git submodule update --init --recursive
Compile/build Enketo-Dristhi by running grunt at the root of the repository. This will generate a ‘build’ directory at the root of the repository
Update Enketo-Dristhi on Dristhi app
In Dristhi app, enketo can be located at <app_root>/dristhi-app/assets/www/enketo. Delete this directory by running rm -rf <app_root>/dristhi-app/assets/www/enketo
Copy the contents of <enketo_dristhi_root>/build directory to <app_root>/dristhi-app/assets/www/enketo by running the following command from <app_root>, cp -r ../<enketo_dristhi_root>/build dristhi-app/assets/www/enketo
Delete the index.html file as it is not used in Dristhi app by running the following command from app_root, rm dristhi-app/assets/www/enketo/index.html
This site is no longer maintained. Please visit docs.opensrp.io for current documentation.