[ https://issues.apache.org/jira/browse/OFBIZ-6855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-6855. ---------------------------------- Resolution: Not A Problem Assignee: Jacques Le Roux Actually you have a much simpler way than that. It of course means that you use Derby which comes OOTB; but even with another DBMS it's possible though may need a bit more work (hint: dump). You may notice that after you 1st call to (eg) "ant load-demo" OFBiz creates a complete ready to use DB at _runtime\data\derby_ So simply copy it somewhere and re-use it when you need it. Nothing simpler, you can even easily automate it. From time to time -regenrate it if data model or/and data have evolved, et voilĂ Closing as not a problem, thanks :) > Getting fresh OFBIZ database in seconds. > ---------------------------------------- > > Key: OFBIZ-6855 > URL: https://issues.apache.org/jira/browse/OFBIZ-6855 > Project: OFBiz > Issue Type: Improvement > Reporter: Kulwant Singh > Assignee: Jacques Le Roux > Priority: Minor > Labels: docker, entities > > Actually when setting up new database for testing and client-demo purposes It > takes around 15 - 20 minutes to create entities and put seed data into these > entities and this repetation of task with every new build/release wastes lots > of time and is also very frustrating because of doing same task again and > again. > This problem can be solved by can using DOCKERS with image already having > OFBIZ entities created in them and it will make getting fresh database as > simple as just starting the new process(Docker container and forwarding ports > for database from host machine to docker container). -- This message was sent by Atlassian JIRA (v6.3.4#6332)