Getting Started

The simplest way to get started with development is to grab the ccav ansible playbooks and run them using the ansible tool against a blank Centos 6.4 x86_64 virtual machine using your preferred virtualization platform. The playbooks will install everything required to build, develop and deploy the application and ia always kept up-to-date for dependency testing and deployment purposes.

You may also follow these rough instructions to get up and running on Mac OS X with the Homebrew package management tool.

  1. Install Homebrew:
ruby -e "$(curl -fsSL"
  1. Install python:
brew install python
  1. Install numpy:
pip install numpy
  1. Install gdal:
brew install gdal
  1. Install freetype:
brew install freetype
  1. Install mapserver:
brew install mapserver
  1. Install virtualenvwrapper:
pip install
  1. Make sure you have something like this setup in your bash profile:

# Check if is available and source it
if $(which &> /dev/null); then
    source $(which
  1. Create a new virtual environment:
mkvirtualenv --system-site-packages ccav
  1. Clone the development repository:
hg clone
  1. Bootstrap, build and run:
cd /path/to/ccav
fab develop
dev webui:dev=yes

There is a nice ASCIINema based screencast of how to setup a full working development environment based on the above steps:

Table Of Contents

Previous topic

ccav 0.0 Documentation

Next topic


This Page