Hi,
On 17 Mar 2016, at 09:00, abtv <[email protected]> wrote:
I have xwiki enterprise with Postgres as db backend. Right now I'm using the following: 1. Download http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-7.4.1.war unzip it and put it under Jetty. 2. Change config files to use Postgres. 3. Download http://download.forge.ow2.org/xwiki/xwiki-enterprise-ui-mainwiki-all-7.4.1.x... 4. Run xwiki 5. Import xwiki-enterprise-ui-mainwiki-all-7.4.1.xar via UI.
Step 3 and 5 should be removed. XWiki will pop up the Distribution Wizard to perform to install the UI, see http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard May I ask you where you found the instructions to import the XAR file? (I’d like to fix it if it’s in our instructions somewhere)?
I wonder if it's possible to make step 5 (import xar file) via API (don't use UI for it). I would like to simplify xwiki deployment.
Right now no. See http://stackoverflow.com/questions/36029418/is-there-any-api-to-automate-ext...
What I've already done: I automated spaces/pages creation via REST API. I think there should be some way to automate extension installation. I've found XFF REST API http://extensions.xwiki.org/xwiki/bin/view/Extension/XFF+REST+API . Is it possible to use it to install xar files with extensions? Maybe there are other ways?
I would appreciate any help. Thanks in advance!
Are you the person who asked on SO? :) Thanks -Vincent