Skip to content
Timea edited this page Sep 16, 2021 · 17 revisions

tips for developers

This is intended to give some receipts when developing solidos app. But can also be an entry point to solidos organisation. It is not a replicate of existing documentation. solidos/mashlib/dataBrowser are alike.

what is a store ?

A store is created by rdflib library (see introduction). Synonyms are "kb" (knowledge base), ... It relates to a javascript object meant to manipulate RDF in memory. Basically it is an object organized to allow parsing through quads. A quad is a triple with a source document.

is a store a cache system ?

yes mostly if called through solid-logic

how to clean a document from a store

rdflib tips

  • webOperations : performs all HTTP fetch functions
  • fetcher.load : insert a web document to the store if not existing already
  • updater.update : update store data and write them back to the web

solid-ui tips

authorization and current user

  • webId's
  • login/logout

diagram

app management

UI concepts

Running SolidOs on Apple M1 chip 16.09.21

  • currently SolidOS needs node 12.19.1 and node 13.14.0 but M1 chip cannot install node < v14

Solution:

  • on MacOs terminal one can switch the architecture used to build code, you need to switch to -x86_64 with the command: $env /usr/bin/arch -x86_64 /bin/zsh —-login
  • to check if it worked check with arch command in the terminal, the result should show i386
  • afterwards you can proceed to install other node versions: nvm install 12.19.1 and nvm install 13.14.0

References:

Clone this wiki locally