JSONiq connector for MarkLogic
JavaScript JSONiq
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
queries
tasks
.gitignore
.jshintrc
28.json
README.md
circle.yml
config.json.enc
gulpfile.js
package.json

README.md

#JSONiq Connector for MarkLogic Circle CI

##Installation Use the 28 cli to setup your MarkLogic data source and deploy your queries.

Sign up and create an account at http://hq.28.io/account/register. A video tutorial that shows the 28 cli in action is available here. Getting started instructions are also available here.

Here's an example of data source configuration file:

[{
    "category": "MarkLogic",
    "name": "my-datasource",
    "credentials": {
        "username": "test",
        "password": "foobar",
        "hostname": "localhost",
        "port": 8003
    }
}]

To attach the data source to your project:

$28 datasources set my-project -c datasources.json

##Development

$ npm install gulp -g
$ npm install

To decrypt the deployment information use TRAVIS_SECRET_KEY environnement variable.

$export TRAVIS_SECRET_KEY=<secret>

To deploy the queries and test the queries:

$ gulp setup --build-id=test

To remove a deployment once you are done:

$ gulp teardown --build-id=test