Hello Jon,

Please read the README.adoc file of Apache OFBiz project. Here you should
read about various readers - seed, seed-initial, demo, ext, ext-demo.
https://github.com/apache/ofbiz-framework/blob/trunk/README.adoc

You should use following command when you wish to load all the readers data
in the system:
>> ./gradlew cleanAll loadAll

This command will help you to see how all the data readers have been
configured in the system and how various components are interconnected with
each other.

If you wish to read additional information about data readers then please
refer this document:
https://www.hotwaxsystems.com/ofbiz/ofbiz-tutorials/ofbiz-data-setupdata-reader-best-practices-tutorial/

Now to answer your question:

>> how can the demo data be removed but still leave the setup data i.e.
chart of accounts etc?

You can do this by following either of the options mentioned below:

- Initially you need to set up your custom component and then set up Chart
of Accounts data of type "ext" in it. And then load seed, seed-initial and
ext readers.
Reference file:
https://github.com/apache/ofbiz-framework/blob/trunk/applications/datamodel/data/demo/GlAccountDemoData.xml

- The other option can be to load seed, seed-initial in the system and then
create an "admin" user in the system. Login into the system and then create
a various Chart of Accounts using the Accounting component GUI.

Hope this helps!

--
Kind Regards,
Ashish Vijaywargiya
Vice President of Operations
*HotWax Systems*
*Enterprise open source experts*
http://www.hotwaxsystems.com



On Wed, Aug 2, 2023 at 6:18 PM Jon Albright <[email protected]>
wrote:

> After a successful installation & then setting the default database to
> Postgres, how can the demo data be removed but still leave the setup data
> i.e. chart of accounts etc?
>
>
>

Reply via email to