Main repository of the Cadasta platform. Technology to help communities document their land rights around the world.
Switch branches/tags
Clone or download
Failed to load latest commit information.
.github Update PULL_REQUEST_TEMPLATE (#1941) Jan 11, 2018
cadasta Adds ZOA data cleanup command (#2043) Jul 6, 2018
deployment Changes for deployment to AWS Feb 8, 2016
functional_tests Update dependencies (#1868) Dec 7, 2017
provision Update uwsgi.ini (#2030) Apr 4, 2018
requirements Upgrade jsonattrs to 0.1.26 (#2038) Jun 4, 2018
.coveragerc Project country determination Apr 18, 2016
.editorconfig Add .editorconfig Nov 30, 2015
.eslintrc Fix: #832 Add suport for XLSX imports (#898) Dec 2, 2016
.gitignore Fixes #1563 -- Use iexact matching when querying users (#1973) Feb 9, 2018
.travis.yml Update BrowserStack access key (#2025) Mar 24, 2018 Add release notes for 1.17.8 (#2042) Jun 15, 2018
LICENSE Create LICENSE Jan 22, 2016 Bugs: new users default policy; org creation Apr 22, 2016
README.rst Async Exports (#1883) Jan 24, 2018
Vagrantfile Async Exports (#1883) Jan 24, 2018
ansible.cfg Set up to use wheelhouse for PIP packages Jul 27, 2016
package.json Add react.js-based paginated tables (#1940) Feb 5, 2018
runtests-functional Add react.js-based paginated tables (#1940) Feb 5, 2018 Fix cadasta path in (#1920) Nov 30, 2017 Async Exports (#1883) Jan 24, 2018
tox.ini Dependency update (#2027) Apr 25, 2018
uwsgi.ini Update uwsgi.ini (#2030) Apr 4, 2018
uwsgi_params Changes for deployment to AWS Feb 8, 2016
yarn.lock Add react.js-based paginated tables (#1940) Feb 5, 2018



build-status-image req-status-image

Install for development


Clone the repository to your local machine and enter the cadasta-platform directory. Run the following commands to access the virtual machine.

Provision the VM:

vagrant up --provision

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

vagrant ssh

Enter the cadasta directory and start the server:

cd cadasta

To add the Django debug toolbar, use ./runserver --debug.

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

See the wiki for details on loading test data.

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: