mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

* feat(seeding): seed accounts and pods with seeded-pod-config.json * feat(seeding): dry up SeededPodInitializer by using RegistrationManager directly and make compatible with version/3.0.0 * feat(seeding): update seed config files to version 3.0.0 context * feat(seeding): simplify seeded-root config by importing pre-existing prefilled-root config * feat(seeding): Add seeding as a default initializer, update seeded pod copy and guide, change seeded pod config to array * feat(seeding): remove template info from seeded pod guide, use mockFs, code style nit, fix redlock test * feat(seeding): remove old config file
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"