Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

  1. Download the default configs from github with:

            wget https://github.com/OpenSRP/opensrp-server/blob/tb-reach/assets/tbreach_default_view_configs.tar.gz
  2.  Unzip the archive  with:   
            tar -xvf tbreach_default_view_configs.tar.gz 
  3.  CD into the directory with:
             cd tbreach_default_view_configs

      4.   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.
  • No labels