-
Use Spring profile "data" to generate purchase data and output the data to purchases.json
-
Copy purchases.json to the resources/ directory
Run application without the "data" profile and it will populate the database from the data in purchases.json