css-mashlib v1.1.0
css-mashlib
CSS with mashlib recipe and NSS like templates/pod.
This is a http://localhost:3000 server for mashlib test purpose. The repo is integrated with the mashlib stack build.
config
package.json contains 2 dependencies :
CSS version.
Each major version is linked to a different /config/
mashlib version.
config files are located in
configfolderhttp-mashlib-suffix-file.jsonhas been created with mashlib-recipe configuration generator https://communitysolidserver.github.io/configuration-generator/v7/ CSS mashlib recipe.- The file must be replaced for each new CSS mashlib recipe version - at least for the context version
..//css-mashlib/templates/podreplaces default CSS@css:/templates/podsee https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1510
css-mashlib/templates/podis structured to produce default CSS pod that is fully compatible with NSS pods.- WebID document : card$.ttl
- pod structure
- inbox
- profile
- public
- settings
start CSS
- Data is stored in the
css-mashlib/datafolder - To start CSS. There are 2 possibilities :
npm run start(keep existing data - if any)npm run start:clean(reset CSS)
Other available configuration
https configuation are available to be used on real server (not localhost)
https-mashlib-suffix-file.jsonhttps-mashlib-subdomain-file.json
The command line to run these server can be :
npx community-solid-server -c ./config/https-mashlib-suffix-file.json -f ./data --httpsKey ../privkey.pem --httpsCert ../fullchain.pem -b https://yourserver:3000- replace certificates by real one
- replace ./data by real storage
- replace
https://yourserver:3000by the real one (example https://solidcommunity.net:3000)