static JSON in public/json/monitor/printers/key
[angular-mojolicious.git] / README
diff --git a/README b/README
index 9dfe96b..935344b 100644 (file)
--- a/README
+++ b/README
@@ -26,6 +26,14 @@ At it's current stage it provides support for angular $resource get, query and $
 http://angularjs.org/Service:$resource
 
 
+Data can also be serve static json files stored in:
+
+       public/json/:database/:entity/:key
+
+which can be used to provide data using external stand-alone scripts.
+
+
+
 Replication of data between instances using angular REST API can be done with:
 
        # create local CouchDB database
@@ -90,6 +98,11 @@ CouchDB examples:
        couchdb-external-kinosearch.pl - external searcher for KinoSearch indexes
                (configuration for CouchDB is included at end of file)
 
+       $ ./couchdb-trigger.pl http://localhost:5984/trigger_demo trigger/KinoSearch.pm
+
+       $ curl 'http://localhost:5984/trigger_demo/_kinosearch?include_docs=true;q=foobar'
+
+
 
 Roadmap: