4.2.8 Seeding & clearing your local databases
Seeding your local databases
Now that your source files are prepared, you are ready to "seed" your OpenCRVS database with data.
Ensure that OpenCRVS is running, including your countryconfig server by following the instructions in: 3.1.3 Starting and stopping OpenCRVS.
Open a new Terminal window and cd inside opencrvs-core:
Run the following command
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.
Clearing your local databases
During development, you may wish to clear your local database so that you can seed it again with new files.
Ensure that opencrvs-core is running.
Open a new terminal window and cd into your opencrvs-core directory
Run the following command:
Last updated