Two instances of same app possible?

damonq
Posts: 29
Joined: Mon Nov 28, 2011 12:56 pm

Two instances of same app possible?

Postby damonq » Wed May 16, 2012 8:56 am

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

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Two instances of same app possible?

Postby cpg » Wed May 16, 2012 2:11 pm

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 :)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

damonq
Posts: 29
Joined: Mon Nov 28, 2011 12:56 pm

Re: Two instances of same app possible?

Postby damonq » Wed May 16, 2012 7:23 pm

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

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Two instances of same app possible?

Postby cpg » Thu May 17, 2012 5:45 pm

yes, though we keep a structure of html/ and logs/ so the html/ is the root of the webapp.

have fun! :)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 9 guests