Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1018 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 1018 Bytes

CommCare Analytics Ansible

Tools for setting up and deploying a Commcare Analytics server.

Documentation

The documentation in the docs/ directory is hosted on Read the Docs.

Building the docs

To build the docs locally,

  1. Clone this repository, and change into the directory.

  2. Create and activate a virtual environment

    $ python3 -m venv venv
    $ source venv/bin/activate
  3. Install requirements:

    $ pip install -r requirements/docs-requirements.txt
  4. Change into the docs/ directory, and build the docs in HTML

    $ cd docs/
    $ make html
  5. To serve the docs locally, you can use Python's webserver:

    $ cd _build/html/
    $ python -m http.server 9000
    $ firefox 'http://localhost:9000/'

    Alternatively, open _build/html/index.html in a browser:

    $ firefox _build/html/index.html