Yup you got the command right

On Apr 20, 2017 5:03 AM, "Craig Parker" <[email protected]> wrote:

> So, this (I tried them one at a time to see what happens -- and noticed
> stopping and starting ofbiz appears to be necessary):
>
> ./gradlew "ofbiz --load-data readers=seed"
> ./gradlew "ofbiz --load-data readers=seed-initial"
> ./gradlew loadAdminUserLogin -PuserLoginId=admin
>
> will give me an ofbiz install ready, data-wise, to start using in a
> production environment? At this point I'd start keying in products,
> vendors, etc ?
>
> Will this:
>
> ./gradlew "ofbiz --load-data readers=seed,seed-initial loadAdminUserLogin
> -PuserLoginId=admin"
>
> Get it all done in one fell swoop? Readme wasn't clear, to me at least.
>
> I'm still a ways off, and hope to be helping along with docs as I go, but
> I'm just trying to find the "you are here" sign.
>
> On 04/19/2017 03:35 AM, Jacopo Cappellato wrote:
>
>> Hi Craig,
>>
>> the name loadDefault may be a bit misleading: it actually loads the seed
>> data but also testing and demo data (maybe loadAll may be more accurate).
>> Anyway, you are probably looking for:
>>
>> ./gradlew "ofbiz --load-data readers=seed,seed-initial"
>>
>> You will find a description of the various options and their meaning in
>> the
>> README.md file section titled "Data loading tasks".
>>
>> Regards,
>>
>> Jacopo
>>
>> On Wed, Apr 19, 2017 at 2:40 AM, Craig Parker <[email protected]>
>> wrote:
>>
>> ./gradlew cleanAll loadDefault will load some test data. Or is that wrong?
>>> I'm only thinking so because I saw things in the PRODUCTS table besides
>>> the
>>> item I started creating.
>>>
>>> Dropping the databases, running and firing OFBiz up again seems to have
>>> rebuilt the databases (I thought I'd read somewhere that they'd get
>>> rebuilt
>>> like that), but there's no data. This was the desired effect, but I can't
>>> launch the software now. I can post the whole error, or just say that I
>>> see
>>> a lot of "Template location is empty" messages.
>>>
>>> Is that the right way to start with a clean slate and I missed a step, or
>>> is that totally wrong?
>>>
>>>
>

Reply via email to