Skip to content

kavindya89/cadasta-platform

 
 

Repository files navigation

cadasta-platform

build-status-image

Install for development

Install:

Clone the repository.

AWS Deployment:

vagrant box add dummy https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box
vagrant plugin install vagrant-aws
...

vagrant up --provider=aws ...

Provision the VM:

vagrant up --provision

SSH into to the VM (this automatically activate the Python virtual environment) and run the server:

vagrant ssh
cd cadasta
./runserver

Open http://localhost:8000/ in your browser, 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 74.0%
  • CSS 13.7%
  • HTML 9.8%
  • JavaScript 2.5%