Hi Jon,
You can follow the following steps for OFBiz installation with no demo data
- Load the seed data required to run ofbiz
`./gradlew "ofbiz --load-data readers=seed,seed-initial"`
- Create new user login myadmin, default password is ofbiz
`./gradlew loadAdminUserLogin -PuserLoginId=myadmin`
- Run the application and login to any webapp eg. webtools
- You can load the extra required data from webtools
`https://<host>/webtools/control/EntityImport`
In this way you will install the OFBiz with no demo data.
The process Ashish shared in the previous response is the correct way to
manage the custom data, as it will help you in development and
re-installing the instance.
You can create your custom plugin using following as mention in doc
`
https://github.com/apache/ofbiz-framework/blob/trunk/README.adoc#create-a-new-plugin`
Thanks & Regards
--
Deepak Dixit
ofbiz.apache.org
On Thu, Aug 3, 2023 at 9:43 AM Jon Albright <[email protected]>
wrote:
> Ashish,
>
> Thank you for your prompt response Ashish. I checked the links provided &
> I must say, that is a LOT of manual input prior to actually installing.
>
> Initially with Ofbiz, I followed the setup process for installing without
> any demo data & then changing over to Postgres for the database. That
> process went good, but the manual setup was challenging without knowing the
> items that need to be configured to ensure proper operation between all the
> modules. (There are so many different tabs). I found several writings
> within the Ofbiz user documentation as well as some other writings from
> internet sources for the configuration process, but all seemed to jump
> around a lot & did not seem to be fully definitive. I never really arrived
> at a place I felt comfortable with in the Ofbiz configuration so I resorted
> to using ./gradlew cleanAll loadAll which led me to my original inquiry.
>
> Can you recommend any documents or publications that detail the correct
> way to configure Ofbiz when it is installed with no demo data?
>
> ***************************************
> > 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?
>
>
>
> ---
> Jon Albright
>
>