A component that allows managing web applications within a single BaseX framework.
This project is an implementation of my Bachelor's thesis in computer science.
- Download BaseX and run the BaseX HTTP server.
- Run the BaseX client and login using admin credentials.
Open the install.xqm
XQuery script and edit $BasexHomePath
to point to the BaseX directory.
Execute the following command using the BaseX client:
RUN /PATH-TO-INSTALL/install.xqm
Note that [PATH-TO-INSTALL]
denotes the full path to the directory containing the repository content.
- Restart the server for changes to take effect.
- Call http://localhost:8984/manage to access the component (no '/' at the end).
If the script does not work out, follow the following steps:
- Run the BaseX HTTP server so that the
.basex
configuration file can be generated. - Open
.basex
and appendMIXUPDATES = true
at the end of the file. - Copy the contents of the
repo
folder included in this repository and paste them inside therepo
folder of the BaseX framework. - Copy the
manage
folder to thewebapp
folder of the BaseX framework. - Open
landing-settings.xml
, which is located within thewebapp/manage
directory, and change the value ofBasexHomePath
so that it points to the home directory of the BaseX framework. - Navigate to the
webapp
directory and create a new folder calledrestxq
. - Move every XQuery file located inside
webapp
torestxq
. - Restart the server for changes to take effect and call http://localhost:8984/manage to access the component (no '/' at the end).