Tools for setting up and deploying Commcare Analytics server
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
Docs are hosted on readthedocs and managed by Dimagi. Credentials for the Dimagi account can be found in Keepass.