@@ -40,6 +40,7 @@ Options:
4040 -C, --cert Path to the ssl cert file
4141 --webid Enable WebID+TLS authentication
4242 -idp, --identity-provider Allow registration of WebIDs
43+ --create-admin Allow a user to set up their initial identity in single-user mode
4344 -s, --secret HTTP Session cookie secret key (e.g. "your secret phrase")
4445 -fU, --force-user Force a WebID to always be logged in (useful when offline)
4546 -P, --proxy Use a proxy on example.tld/proxyPath
@@ -53,21 +54,37 @@ Options:
5354
5455### Running the server
5556
56- #### Solid server mode (HTTPS / WebID enabled)
57+ #### Solid server, Single User mode (HTTPS / WebID enabled)
5758
58- To start ` ldnode ` in Solid server mode, you will need to enable the ` --webid `
59- flag, and also pass in a valid SSL key and certificate files:
59+ To start ` ldnode ` in Solid Single User mode, you will need to enable the
60+ ` --webid ` flag, and also pass in a valid SSL key and certificate files.
61+ LDNode will use these certificates for its own server use (these are
62+ different from the Admin user identity certificate discussed below).
63+
64+ ** Initial Admin User Setup:**
65+ The * first* time you run ` ldnode ` , you will also want to use the
66+ ` --create-admin ` flag, to set up the initial Admin user identity and
67+ certificates.
68+
69+ ``` bash
70+ ldnode --webid --port 8443 --cert /path/to/cert --key /path/to/key --create-admin
71+ ```
72+
73+ You can then visit your LDNode server (at ` https://localhost:8443/ ` , if you're
74+ running it locally), and set up a new account.
75+
76+ You should then restart ` ldnode ` , this time without the ` --create-admin ` flag:
6077
6178``` bash
6279ldnode --webid --port 8443 --cert /path/to/cert --key /path/to/key
6380```
6481
65- #### Solid server mode with WebID Identity Provider
82+ #### Solid server, Multi-user Mode (Allows account creation)
6683
6784To allow users to create a WebID on your server:
6885
6986``` bash
70- $ ldnode --webid --port 8443 --cert /path/to/cert --key /path/to/key -idp --root ./accounts
87+ ldnode --webid --port 8443 --cert /path/to/cert --key /path/to/key -idp --root ./accounts
7188```
7289
7390Your users will have a dedicated folder under ` ./accounts ` . Also, your root domain's website will be in ` ./accounts/yourdomain.tld ` .
0 commit comments