Tools for setting up and deploying a Commcare Analytics server.
The documentation in the docs/
directory is hosted on Read the Docs.
To build the docs locally,
-
Clone this repository, and change into the directory.
-
Create and activate a virtual environment
$ python3 -m venv venv $ source venv/bin/activate
-
Install requirements:
$ pip install -r requirements/docs-requirements.txt
-
Change into the docs/ directory, and build the docs in HTML
$ cd docs/ $ make html
-
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