Development

Development for this tool is set up to run on a Vagrant VM. To develop and test locally, follow the instructions below.

Install Ansible

From the Ansible Installation Guide, run the following on your control machine.

sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible

Set up Vagrant

Follow this guide

Deploy to local VM

From your local machine

vagrant up --provision

This should download and deploy the latest commcare-sync code to a local Vagrant VM.

If everything is successful you can load http://192.168.11.10/ in a browser and get going!