mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
925 B
925 B
How to seed Accounts and Pods
If you need to seed accounts and pods, set the --seededPodConfigJson
option to a file such as ./seeded-pod-config.json
to set your desired accounts and pods. The contents of ./seeded-pod-config.json
(or whatever file name you choose) should be a JSON array whose entries are objects which include
podName
, email
, and password
. For example:
[
{
"podName": "example",
"email": "hello@example.com",
"password": "abc123"
}
]
You may optionally specify other parameters accepted by the register
method of RegistrationManager. For example:
To use a pre-existing wedId:
createWebId: false,
webId: "https://pod.inrupt.com/example/profile/card#me"