Dynamic PODs - Help using a custom config #1813
-
Hello everyone, This is my seeded-pod configuration: [
{
"pods": [
{
"name": "admin-pod",
"settings": {
"template": "default-pod.json"
}
}
],
"email": "admin@solid",
"password": "admin"
}
] I would like to know how can "default-pod.json" be made available to CSS, since right now it's been searched among CSS default config files in the dist directory of CSS in my node_modules. I don't know if this is the correct solution (This was the first option to try to make my template available), but I've been (unsuccesfully) trying to override the parameter "baseConfigPath" in the TemplatedPodGenerator instance with this config (which is not working): "@context": "https://linkedsoftwaredependencies.org/bundles/npm/mycssextension/^0.0.0/components/context.jsonld",
"@graph": {
"comment": "Overrides base path for configuration templates in the pod generator",
"@id": "urn:solid-server:default:PodGenerator",
"@type": "TemplatedPodGenerator",
"urn:solid-server:default:TemplatedPodGenerator#configTemplatePath": "/home" // <-- folder containing "default-pod.json"
} Am I even on the correct path for the solution? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That is indeed the parameter that you want to set a value for, but you need the following JSON to do this: {
"@id": "urn:solid-server:default:PodGenerator",
"@type": "TemplatedPodGenerator",
"configTemplatePath": "/home"
} |
Beta Was this translation helpful? Give feedback.
That is indeed the parameter that you want to set a value for, but you need the following JSON to do this: