Main repository of the Cadasta platform. Technology to help communities document their land rights around the world.
Python CSS HTML JavaScript Other
Latest commit 55f89fa Feb 22, 2017 @oliverroick oliverroick committed with amplifi Add more realistic test data (#1141)
* Add more realistic test data

* Adding OSM licenses; fixing choice creation

* Better names




Install for development


Clone the repository to your local machine and enter that directory.

Provision the VM:

vagrant up --provision

SSH into to the VM (this automatically activates the Python virtual environment):

vagrant ssh

Enter the cadasta directory and start the server:

cd cadasta

Open http://localhost:8000/ in your local machine's browser, this will forward you to the port on the VM and you should see the front page of the platform site.

See the wiki (here and here) for detailed instructions on installation and running the platform for development.

Run tests

Within the development VM, from the /vagrant directory run:

py.test cadasta

To get coverage reports run:

py.test cadasta --cov=cadasta  --cov-report=html

This creates a HTML report under htmlcov. See pytest-cov docs for other report formats.

AWS Deployment

Do this:

vagrant box add dummy
vagrant plugin install vagrant-aws

vagrant up --provider=aws ...


Cadasta is grateful for the technical considerations and support provided by: