Skip to content

SolidOS/css-mashlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 config folder

  • css-mashlib/templates/pod is 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/data folder
  • 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.json
    • https-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:3000 by the real one (example https://solidcommunity.net:3000)

Releases

No releases published

Packages

No packages published