How to not load or remove dummy data in db PostgreSQL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to not load or remove dummy data in db PostgreSQL

Daors Islami
Hello OfBiz Community, I just wanted to ask directly without losing anyone
time,  I have connected OfBiz with PostgreSQL and I just want to load only
the essential data to be able to use the app (f.e the user account for
logging in) not the demo data!

I have read:

https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-InitialDataLoading


And there it says that I should use the command:
gradlew “ofbiz –load-data readers=seed,seed-initial”



I tried it and it didn’t work for me, maybe I misunderstood it.

Is there a gradle command to remove the dummy data from the tables or how
is it possible to achieve this, I only want to be able to go into the app
and add data myself not to load dummy data. I’m new to OfBiz and learning
it daily.

Thank you for your time,
Best regards,
Daors.
Reply | Threaded
Open this post in threaded view
|

Re: How to not load or remove dummy data in db PostgreSQL

Jacques Le Roux
Administrator
Hi Daors,

You did well by asking 1st on the user ML.
Please use it for such questions. See why here http://ofbiz.apache.org/mailing-lists.html.

You will get a better support, people can answer you on the ML.
The wider the audience the better the answers you might get.

Thanks

Jacques

Le 01/10/2020 à 11:46, Daors Islami a écrit :

> Hello OfBiz Community, I just wanted to ask directly without losing anyone
> time,  I have connected OfBiz with PostgreSQL and I just want to load only
> the essential data to be able to use the app (f.e the user account for
> logging in) not the demo data!
>
> I have read:
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-InitialDataLoading
>
>
> And there it says that I should use the command:
> gradlew “ofbiz –load-data readers=seed,seed-initial”
>
>
>
> I tried it and it didn’t work for me, maybe I misunderstood it.
>
> Is there a gradle command to remove the dummy data from the tables or how
> is it possible to achieve this, I only want to be able to go into the app
> and add data myself not to load dummy data. I’m new to OfBiz and learning
> it daily.
>
> Thank you for your time,
> Best regards,
> Daors.