3.2.8 Seeding your local development environment database

Now that your source files are prepared, you are ready to "seed" your OpenCRVS database with data.

  1. Ensure that OpenCRVS is running, including your countryconfig server by following the instructions in: 3.1.3 Starting and stopping OpenCRVS.

  2. Open a new Terminal window and cd inside opencrvs-core:

cd opencrvs-core
  1. Run the following command

yarn seed:dev

After seeding, the OpenHIM password is reset to the default username: root@openhim.org and default password: openhim-password. In production environments, it is very important for you to login to OpenHIM and change the password at the following URL: https://openhim.<your-domain>

To seed a server, follow the instructions here.

Now that your database has been seeded, you have completed the country configuration and you can log in to OpenCRVS! Proceed to the next step to learn more about some of the important API endpoints exposed by the running countryconfig service.

Last updated