Adding Demo data to the Open MRS Reference Application 2.6-SNAPSHOT


(ridmal liyanagamage) #1

Application Name: Open MRS Reference Application Version Number: Open MRS Reference Application 2.6-SNAPSHOT

Question: I added Demo data to the above application by using demo-2.0.1.sql.zip got from https://wiki.openmrs.org/display/RES/Demo+Data here.And i manage to import that zip file to the mysql database.But after i restart the server , it start with this error messages. ( I think because of that some modules are also not able to start.) https://pastebin.com/tF7gzwxM - error message. Please guide me to do that in correct way. Thanks.


(Stephen Senkomago Musoke) #2

Try this option Dockerised demo refapp, and other questions about demo data with an SDK server


(ridmal liyanagamage) #3

ok i will look on that .Thanks @ssmusoke


(Daniel Kayiwa) #4

@ridmal am assuming you are aware of the fact that for the reference application, you can just give the setting named “referencedemodata.createDemoPatientsOnNextStartup” the number of demo patients you would like and then restart the application.


(ridmal liyanagamage) #5

Yeah.i did that and it worked perfectly.

Thanks @dkayiwa and @ssmusoke .


(Naveed khan) #6

dkaiywa!Can you please specify the location where I need to configure this.I am not able to find it.


(tendo kiiza Martyn) #7

@dkayiwa where could this “referencedemodata.createDemoPatientsOnNextStartup” Setting be found ? it is not clearly indicated on the wiki


(Daniel Kayiwa) #8

@tendomart did you take a look at this? https://wiki.openmrs.org/display/docs/Reference+Application+2.8.0


(tendo kiiza Martyn) #9

@dkayiwa No.Let me do so