/
How to update Enketo on OpenSRP app
How to update Enketo on OpenSRP app
Setup Enketo-Dristhi
- 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
, multiple selections available,
Related content
How to update forms on OpenSRP app
How to update forms on OpenSRP app
More like this
How to add new forms to OpenSRP App
How to add new forms to OpenSRP App
More like this
OpenSRP Form Architecture
OpenSRP Form Architecture
More like this
How To Setup Opensrp Server Web on Kubernetes
How To Setup Opensrp Server Web on Kubernetes
More like this
Setup Instructions
Setup Instructions
More like this
OpenSRP android client app build
OpenSRP android client app build
More like this