Once you deploy the server the first time, couch db will not have the default view configurations. In order to populate the database with these you can follow these steps on the command line.
Download the The default configs from github withcan be found on github at:
wget https://github.com/OpenSRP/opensrp-server/blob/tb-reach/assets/tbreach_default_view_configs.tar.gz Unzip the archive with: tar -xvf tbreach_default_view_configs.tar.gz- CD into the directory with:
cd cd tbreach_default_view_configs
43. Populate the database by running the script with:
./setup_view_configs.sh <database name>
NB: These instructions can also be found in the folder's README.txt file once you extract tbreach_default_view_configs.tar.gz.