# Clean installation Ref App 3.0

**URL:** <https://talk.openmrs.org/t/clean-installation-ref-app-3-0/37972>\
**Category:** Implementing\
**Tags:** docker, o3\
**Created:** [November 20, 2022, 2:01am UTC](https://talk.openmrs.org/t/clean-installation-ref-app-3-0/37972 "2022-11-20T02:01:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmouhtar](https://talk.openmrs.org/user_avatar/talk.openmrs.org/hmouhtar/32/17425_2.png) [@hmouhtar](https://talk.openmrs.org/u/hmouhtar)\
**Post date:** [November 20, 2022, 2:01am UTC](https://talk.openmrs.org/t/clean-installation-ref-app-3-0/37972/1 "2022-11-20T02:01:46Z")

</div>

Hello, I’ve installed the RefApp 3.0 using the docker-compose from this repo:

> **[GitHub - openmrs/openmrs-distro-referenceapplication](https://github.com/openmrs/openmrs-distro-referenceapplication)**
>
> Contribute to openmrs/openmrs-distro-referenceapplication development by creating an account on GitHub.

After the installation is completed, I saw that there is demo data. How can I make a clean install without demo data?

Also, is Docker a recommended deployment method for production usage?

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [November 21, 2022, 8:25am UTC](https://talk.openmrs.org/t/clean-installation-ref-app-3-0/37972/2 "2022-11-21T08:25:19Z")

</div>

Hi @hmouhtar,

Great that you are trying out O3. Pleas keep in mind that it is only going through its [first alpha release](https://talk.openmrs.org/t/releasing-o3-ref-app-3-0-0-alpha/37757).

> [@hmouhtar](#):
>
> How can I make a clean install without demo data?

There is a GP to control how demo data is generated I think, @ruhanga could you point to the right direction here?

For your own deployment however you will probably want to have your own distro depend and repackage O3, as it is done in Ozone for instance, see [here](https://github.com/ozone-his/ozone-distro#1-overview). There, you could also decide to exclude the Reference Demo Data module - that would be my preferred approach.

> [@hmouhtar](#):
>
> Also, is Docker a recommended deployment method for production usage?

Yes, by all means.

---

<div class="post-metadata">

**Author:** ![ruhanga](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ruhanga/32/8318_2.png) [@ruhanga](https://talk.openmrs.org/u/ruhanga)\
**Post date:** [November 21, 2022, 11:41am UTC](https://talk.openmrs.org/t/clean-installation-ref-app-3-0/37972/3 "2022-11-21T11:41:46Z")

</div>

Hi @hmouhtar, you could rebuild the docker images after modifying/updating [this file](https://github.com/openmrs/openmrs-distro-referenceapplication/blob/0a724ed7ea5e5e74c51b4b2d834b58b51a1e9f93/distro/configuration/globalproperties/globalproperties_core-demo.xml#L5) to have `<value>0</value>` so that no demo data is created upon startup.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 21, 2022, 12:46pm UTC](https://talk.openmrs.org/t/clean-installation-ref-app-3-0/37972/4 "2022-11-21T12:46:35Z")

</div>

> [@ruhanga](#):
>
> you could rebuild the docker images after modifying/updating [this file](https://github.com/openmrs/openmrs-distro-referenceapplication/blob/0a724ed7ea5e5e74c51b4b2d834b58b51a1e9f93/distro/configuration/globalproperties/globalproperties_core-demo.xml#L5) to have `<value>0</value>` so that no demo data is created upon startup.

Does this mean that those who do not want demo data will not be able to use the official docker image? 🙂

---

<div class="post-metadata">

**Author:** ![ibacher](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ibacher/32/19751_2.png) [@ibacher](https://talk.openmrs.org/u/ibacher)\
**Post date:** [November 21, 2022, 1:08pm UTC](https://talk.openmrs.org/t/clean-installation-ref-app-3-0/37972/5 "2022-11-21T13:08:14Z")

</div>

> [@dkayiwa](#):
>
> Does this mean that those who do not want demo data will not be able to use the official docker image?

This is one of the things that will be resolved before we get to a stable 3.x release. Right now, the “official” images are just intended to run OpenMRS’s 3 hosted versions.
