My amazing my-dayy application
-
exist-db version:
5.3or greater -
ant version:
1.10.12(for building from source) -
node version:
14.x(for building from source)
-
Download the
my-dayy-1.0.0.xarfile from GitHub releases page. -
Open the dashboard of your eXist-db instance and click on
package manager.- Click on the
add packagesymbol in the upper left corner and select the.xarfile you just downloaded.
- Click on the
-
You have successfully installed my-dayy into exist.
-
Download, fork or clone this GitHub repository
-
There are two default build targets in
build.xml:-
devincluding all files from the source folder including those with potentially sensitive information. -
deployis the official release. It excludes files necessary for development but that have no effect upon deployment.
-
-
Calling
antin your CLI will build both files:
cd my-dayy
ant- to only build a specific target call either
devordeploylike this:
ant devIf you see BUILD SUCCESSFUL ant has generated a my-dayy-1.0.0.xar file in the build/ folder. To install it, follow the instructions above.
To run tests locally your app needs to be installed in a running exist-db instance at the default port 8080 and with the default dba user admin with the default empty password.
A quick way to set this up for docker users is to simply issue:
docker run -dit -p 8080:8080 existdb/existdb:releaseAfter you finished installing the application, you can run the full testsuite locally.
This app uses mochajs as a test-runner. To run both xquery and javascript unit-tests type:
npm testThis app uses cypress for integration tests, just type:
npm run cypressAlternatively, use npx:
npx cypress openYou can take a look at the Contribution guidelines for this project
MIT © foke