Skip to content

Install DoTS

BaseX

Download BaseX (>= 12.1): https://basex.org/download/

Info

DoTS

DoTS can be installed in any folder outside the BaseX directory.

cd path/to/desired/installation/folder
git clone https://github.com/chartes/dots.git

The structure of your DoTS repository should be as follows:

dots/               # DoTS root dir.
    repo/           # XQuery module (DTS backend, DTS resolver, etc.).
    schema/         # Relax NG schemas for validating DoTS registers.
    scripts/        # Bash and XQuery scripts to manage a DoTS project.
    tests/          # XQuery unit tests for continuous integration.
    webapp/         # Web Application directory.
        restxq/     # RESTXQ folder containing the API routes.
        static/     # renderers folder.
    ...             # Others files.

Start DTS resolver

cd path/to/dots
bash /path/to/basex/bin/basexhttp

By default, the base DTS API enpoint is available at http://localhost:8080/api/dts/.