Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

minor #53

Merged
merged 1 commit into from Mar 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -38,7 +38,13 @@ First, you *need* to download and install [MarkLogic](https://developer.marklogi
* _error handler_: `/rxq-rewriter.xqy?mode=error`
* _rewrite handler_: `/rxq-rewriter.xqy?mode=rewrite`

You can now point your web browser to the created app (e.g. http://<host>:<port>/) and you should see an html page which is the example-simple application.
Which you can do via MarkLogic Admin GUI or using REST Management API with curl example provided below:

```
curl -i -X PUT --anyauth --user admin:admin -H "Content-Type:application/json" -d'{"root":"/home/jfuller/projects/rxq/src/example-simple","error-handler":"/rxq-rewriter.xqy?mode=error","url-rewriter":"/rxq-rewriter.xqy?mode=rewrite"}' "http://node1:8002/manage/v2/servers/test8/properties?group-id=Default"
```

You may now browse with your web browser to the created app (e.g. http://<host>:<port>/) and you should see an html page which is the example-simple application.

## Distribution

Expand Down