Hi,
 
I was wanting to break down the steps equivalent to cleanAll and 
loadDefault...if I want to manually load my own data, and not demo data 
(instead of expiring demo products and catalogs I'd like to start with nothing 
and create my own catalog, company, admin user, and products):

How do I clean everything out and prepare it for adding everything? This is 
fairly obvious with "cleanAll", but I'd like to confirm if this removes both 
the admin user and demo data.
If I have no admin user (which I assume is the case if cleanAll was run without 
a loadDefault), how would I add account "admin" with password "ofbiz"? What 
steps would be needed to add the admin user without loadDefault? Can this be 
done right after cleanAll using createTenant?
If I want the ofbiz app to start up but have no products, and just seeded to 
where I could use this URL to add things in, what would I need to do for seed 
(I assume I need admin user set up first via createTenant or else I'd have no 
way to log in as an admin to do those things)?
https://localhost:8443/ofbizsetup/control/initialsetup

 
Is it correct that createTenant on a setup with no demo data (no loadDefault) 
would be used to add the admin user? Regardless, I am interested in knowing 
where I can look up all possible arguments which are valid to the 
"-PdbPlatform=" parameter during a createTenant. Does loadDefault do anything 
other than setting up demo data I would need to be aware of?
 
Thanks!
 
----- Original Message -----From: Taher Alkhateeb 
<slidingfilame...@gmail.com>To: user@ofbiz.apache.orgSent: Sat, 25 Mar 2017 
15:45:36 -0000 (UTC)Subject: Re: Equivalent Steps for Creating Sample Data

Okay, so the problem you're facing is that you're using the wrong command.You 
should avoid completely using the createTenant task and instead just dothe 
following to load the system demo data:

./gradlew cleanAll loadDefault

After the data loading is complete you can start OFBiz and login to checkout 
what happened.

./gradlew ofbiz

As for the rest of your questions, everything is described in detail in 
theREADME.md file. So take a look over there.

On Sat, Mar 25, 2017 at 5:42 PM, <stim...@comcast.net> wrote:

> Hi,>> I'm just learning the lingo, but this is just for one company, so I 
> think> that is single tenant. I'm wanting to put together the steps for 
> manually> bringing up a small sample for a single company with a single 
> retail store> and no remote warehouse. Presumably with in store POS and 
> online> sales...just a very simple case. I might add 2 or 3 customers and 2 
> or 3> sample products in a single category.>> Btw, I'd also like to find an 
> explanation anywhere on the "-PdbPlatform=P"> option during createTenant. I'm 
> only guessing "P" is for PostgreSQL and "M"> is for "MySQL". I have been 
> unable to google for the meaning of the> possible values in dbPlatform. Since 
> I plan to use PostgreSQL this is of> interest, and I've had to guess that "P" 
> is for PostgreSQL, and probably> "M" for MySQL. Perhaps there is something 
> equivalent to a man page> somewhere for these arguments (beyond the gradlew 
> help output which does> not seem to explain such details)?>> Thanks!>> ----- 
> Original Message -----From: Taher Alkhateeb <> slidingfilame...@gmail.com>To: 
> user@ofbiz.apache.orgSent: Sat, 25 Mar> 2017 08:22:37 -0000 (UTC)Subject: Re: 
> Equivalent Steps for Creating Sample> Data>> Are you trying to setup a single 
> or multi-tenant environment?>> On Mar 24, 2017 11:21 PM, 
> <stim...@comcast.net> wrote:>> > Hi,>> I'm wondering about what individual 
> steps are equivalent to> loading the> sample data?>> Some steps I've tried 
> (perhaps I used seeds I> didn't need...however, I> configured for PostgreSQL 
> so I assume "ext" for> that):> ...build, load default demo data, browse...> 
> ./gradlew cleanAll>> ./gradlew "ofbiz --load-data 
> readers=seed,seed-initial,ext">> That much> seems to work. This step fails (I 
> have PostgreSQL set up with> user/pass> ofbiz/ofbiz and config has been set 
> up and was working with this> so> entityengine.xml is tested as correct):> 
> ./gradlew createTenant> -PtenantId=admin -PtenantName="admin"> 
> -PdomainName=com.example> -PtenantReaders=seed,seed-initial,ext> 
> -PdbPlatform=P -PdbIp=127.0.0.1> -PdbUser=ofbiz -PdbPassword=ofbiz>> Since 
> this latter step fails, should I> do something else before creating> an admin 
> user, or is the issue one of an> error in my syntax?>> I'm essentially trying 
> to get to a point where I can> reach this URL and> add Company and other 
> items manually:>> https://localhost:8443/ofbizsetup/control/initialsetup>> 
> Thanks!>

Reply via email to