Running the Data Population CLI Tool
Running the Data Population CLI Tool
Do one of the following:
- For Linux-based Operating Systems, run data-population.sh.
- For Windows-based Operating Systems, run data-population.bat.
For Linux-based operating systems that is running from the development
environment
cd data-population/ext-data-population-cli/target/ext-data-population-cli-1.0-SNAPSHOT ./data-population.sh --dataDirectory ../../../../database/ext-data/target/classes/ --configDirectory ../../../../database/ext-data/target/classes/environments/local [update-db|reset-db]
Example: For Windows-based operating systems that is running from development environment
cd data-population\ext-data-population-cli\target\ext-data-population-cli-1.0-SNAPSHOT data-population.bat --dataDirectory ..\..\..\..\database\ext-data\target\classes\ --configDirectory ..\ ..\..\..\database\ext-data\target\classes\environments\local [update-db|reset-db]
Example: For Linux from an external configuration directory
./data-population.sh --dataDirectory /home/epuser/ep/workspace/data-population --configDirectory /etc/ep/conf/prod-data-population/ [update-db|reset-db]