Hi Craig,

I'm not sure if this might be an overkill for you, but I usually write a
little docker-compose file to fire up OFBiz with postgres. I can have 5
instances running on my laptop each with its own database, ip address,
network stack, etc. I can start or terminate any instance with one line and
all instances are completely isolated from each other. Even better, I don't
have to install any database on my computer.

Of course the price you have to pay is learning docker which takes some
time to understand but the benefits are worth it in my opinion. Deployment
becomes consistent in any machine whether be it production, staging or your
local machine.

On Aug 26, 2017 10:14 AM, "Craig Parker" <[email protected]> wrote:

I've got OFBiz up and running on my Linux laptop with a MySQL backend. Is
it possible to have another instance running somehow at the same time that
uses a different DB? Well, maybe three different DBs -- looks like I'm
currently using ofbiz, ofbizolap, and ofbiztenant.

What I'm aiming for is to have a "live" and a "play" area eventually. If I
want to go try something, I want to keep from breaking my install.

Initially though, I want to have the default data in one, and the other a
blank slate.

Right now the install is sitting in /ofbiz and being started up with a bash
script via systemctl. I've not tried it yet, but  I'm wondering if I have
to create the three new DBs, and duplicate what I have in /ofbiz to
something like /ofbiz-play, then create a similar startup script that fires
up things in that /ofbiz-play directory.

Reply via email to