Page 1 of 1

Two instances of same app possible?

Posted: Wed May 16, 2012 8:56 am
by damonq
Was wondering if its possible to run two instances of dokuwiki and/or wordpress on amahi. One for testing plugins and themes and one instance for everyday use so as not to screw it up.
Thanks

Re: Two instances of same app possible?

Posted: Wed May 16, 2012 2:11 pm
by cpg
Multiple instances of the same app is not a well supported feature, unfortunately.

We tried to support it early on and it caused some conflicts with database names, etc., and it became clear that was a substantial amount of work and noone was interested on it.

There are enough tools to easily set one instance of an app "by hand" using the concept of web app.

To create a database, use this utility script: hda-create-db-and-user

The rest it's following the app's install directions and/or installer.

Well, should be :)

Re: Two instances of same app possible?

Posted: Wed May 16, 2012 7:23 pm
by damonq
Thank you for the prompt reply.
Just for clarification (being fairly new to linux and amahi forgive my ignorance and hesitation at messing up a fresh install) but if dokuwiki in particular does not use a database, could it be as easy as
Setup->Apps->Webapps->New Web-App->"dokutest"

and copy dokuwiki folder?


OK, I tried above mentioned procedure and it seems to have worked fine so far with dokuwiki

Re: Two instances of same app possible?

Posted: Thu May 17, 2012 5:45 pm
by cpg
yes, though we keep a structure of html/ and logs/ so the html/ is the root of the webapp.

have fun! :)