Background:
is my project which aims to support both ExistDB and BaseX.
In ExistDB I can manage my content, assets and code (RESTXQ) scripts solely over the WebDAV layer of ExistDB which makes deployments really easy. Deploying code to BaseX requires access to the filesystem because the scripts live on the filesystem and not in the database (existed).
So the question is: is there some way to send code over HTTP to BaseX in order to be deployed in some way in the right place on the filesystem.
-aj
On 24 Aug 2015, at 8:12, Dirk Kirsten wrote:
Hello Andreas,
I do not quite understand - What use is a web service if you do not have access over HTTP? You might have to tunnel, but this might be just the right action.
RESTXQ files don't have to be installed, they are just read in from the file system. Hence, every file transfer mechanism you want could be theoretically used to transfer the files, e.g. ssh, ftp or I guess also WebDAV is the RESTXQ-directory is used by some WebDAV server (excuse me if this is totally wrong, I have never used WebDAV, but it should work somehow...).
Cheers, Dirk
On 08/24/2015 07:39 AM, Andreas Jung wrote:
Hi there,
I know that .xqm script are installed directly on the filesystem (compared to Exist where the scripts are stored directly within the database).
Is there some way to install RESTXQ through some (HTTP) API on the filesystem?
Background of my question: I want to deploy RESTXQ script to a pre-installed BaseX server where I not necessarily have access to over HTTP. In Exist-DB I can directly upload the scripts over WebDAV (which is very convenient) ...now looking into a similar option in order for BaseX in order keep the deployment of applications as easy as possible ("one click" installation).
Andreas
-- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22