...
WFA is a web application deployed on Tomcat. It integrates with services such as 'Dhis2 login', 'voucherCodeService', and 'message scheduling/sending', all of which are orchestrated through the DWS, a middle-ware service.
WFA Deployment
The WFA application is provided as a zip file. Deployment or updates are performed by unpacking this ZIP file into the Tomcat ‘webapps’ folder.
Steps:
...
Export and Import Data:
Export the ZWE VMMC filtered dataset from MongoDB Atlas and import it into the target MongoDB server, the MongoDB docker container.
Copy the exported file into the MongoDB Docker container and run the following command:
Code Block mongoimport --host=localhost --port=27017 --db=db1 --collection=client --file=/data/client2024.json --jsonArray
Set Indexes:
To ensure proper performance, set indexes on the collections listed above.
Export the indexes from MongoDB Atlas by running the following command in the MongoDB shell for each database and collection:
Code Block db.your_collection_name.getIndexes();
Import the indexes into the target MongoDB instance using a Node.js script named 'indexImporter.js'.
Code Block node indexImporter.js db1 client indexFiles/clientIndexes.json
...