Skip to content

Commit 98ce399

Browse files
committed
updating the README with new flags
1 parent 09a9dbe commit 98ce399

1 file changed

Lines changed: 23 additions & 21 deletions

File tree

README.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,29 @@ The command line tool has the following options
2828
Usage: ldnode [options]
2929
3030
Options:
31-
-v, --verbose Print the logs to console
32-
--version Print current ldnode version
33-
-m, --mount Relative URL from which to serve the Linked Data Platform (default: '/')
34-
-r, --root Root location on the filesystem to serve resources
35-
-p, --port Port to use
36-
-c, --cache Set cache time (in seconds), 0 for no cache
37-
-K, --key Path to the ssl key file
38-
-C, --cert Path to the ssl cert file
39-
--webid Enable WebID+TLS authentication
40-
-idp, --identity-provider Allow registration of WebIDs
41-
--create-admin Allow a user to set up their initial identity in single-user mode
42-
-s, --secret HTTP Session cookie secret key (e.g. "your secret phrase")
43-
-fU, --force-user Force a WebID to always be logged in (useful when offline)
44-
-P, --proxy Use a proxy on example.tld/proxyPath
45-
--no-live Disable live support through WebSockets
46-
-sA, --suffix-acl Suffix for acl files (default: '.acl')
47-
-sM, --suffix-meta Suffix for metadata files (default: '.meta')
48-
--no-error-pages Disable custom error pages (use Node.js default pages instead)
49-
--error-pages Folder from which to look for custom error pages files (files must be named <error-code>.html -- eg. 500.html)
50-
--file-browser URI to use as a default app for resources (default: https://linkeddata.github.io/warp/#/list/)
51-
--data-browser Enable viewing RDF resources using a default data browser application (e.g. mashlib)
31+
--version Print current ldnode version
32+
-v, --verbose Print the logs to console
33+
34+
--root Root folder to serve (defaut: './')
35+
--port Port to use
36+
--webid Enable WebID+TLS authentication
37+
--ssl-key Path to the SSL private key in PEM format
38+
--ssl-cert Path to the SSL certificate key in PEM format
39+
--allow-signup Allow users to register their WebID on subdomains
40+
41+
--create-admin Allow a user to set up their initial identity in single-user mode
42+
--no-live Disable live support through WebSockets
43+
--default-app URI to use as a default app for resources (default: https://linkeddata.github.io/warp/#/list/)
44+
--proxy Use a proxy on example.tld/proxyPath
45+
--file-browser URI to use as a default app for resources (default: https://linkeddata.github.io/warp/#/list/)
46+
--data-browser Enable viewing RDF resources using a default data browser application (e.g. mashlib)
47+
--suffix-acl Suffix for acl files (default: '.acl')
48+
--suffix-meta Suffix for metadata files (default: '.meta')
49+
--session-secret Secret used to sign the session ID cookie (e.g. "your secret phrase")
50+
--no-error-pages Disable custom error pages (use Node.js default pages instead)
51+
--error-pages Folder from which to look for custom error pages files (files must be named <error-code>.html -- eg. 500.html)
52+
--mount Serve on a specific URL path (default: '/')
53+
--force-user Force a WebID to always be logged in (useful when offline)
5254
```
5355

5456
### Running the server

0 commit comments

Comments
 (0)