You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b46b9b0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+89-52Lines changed: 89 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
7
7
Linked Data Platform server based on [rdflib.js](https://github.com/linkeddata/rdflib.js) and [node.js](https://nodejs.org/). This is all you need to run distributed linked data apps on top of the file system.
8
8
9
+
You can run ldnode as a [command-line tool](https://github.com/linkeddata/ldnode/blob/master/README.md#command-line-tool) or as a [library](https://github.com/linkeddata/ldnode/blob/master/README.md#library) for your Nodejs/Express app.
10
+
9
11
## Features
10
12
11
13
-[x] GET, PUT, POST and PATCH support
@@ -17,18 +19,49 @@ Linked Data Platform server based on [rdflib.js](https://github.com/linkeddata/r
17
19
-[x] Real-time live updates (using websokets)
18
20
19
21
20
-
## Install
22
+
## Command line tool
23
+
24
+
npm install -g ldnode
25
+
26
+
The command line tool has the following options
27
+
28
+
```
29
+
Usage: ldnode [options]
30
+
31
+
Options:
32
+
-v, --verbose Print the logs to console
33
+
--version Print current ldnode version
34
+
-m, --mount Where to mount Linked Data Platform (default: '/')
35
+
-r, --root Root location on the filesystem to serve resources
36
+
-p, --port Port to use
37
+
-c, --cache Set cache time (in seconds), 0 for no cache
0 commit comments