Skip to content

3. Data Kitchen know how

Timea edited this page Oct 20, 2021 · 2 revisions

For general Data Kitchen know-how head over to the Data Kitchen readme.

Note: We are trying our best to keep this documentation up to date. If you see something outdated we invite you to make a ticket over at Data Kitchen GitHub issues.

Adding Data Kitchen into SolidOS

Steps needed to get Data Kitchen working locally in SolidOS

  1. Use documentation for adding a repo.
    npm run add data-kitchen https://github.com/solid/data-kitchen.git
  2. Within the data-kitchen directory run ci.
    cd workspaces/data-kitchen && run npm ci
  3. To link or use mashlib inside Data Kitchen there are two options.
    The first option is to just take the mashlib from solidos/workspaces/mashlib/dist/mashlib.js and copy it into workspaces/data-kitchen/assets and overwrite the mashlib.js in that directory. Otherwise, the command ln -s mashlib/dist/mashlib.js data-kitchen/assets/mashlib.js can be run from the workspaces directory.
  4. Now data-kitchen can start.
    npm run start
  • once the auth-upgrade is complete, step three will no longer be necessary, it will link to the current versions of mashlib and CSS either in the data-kitchen/node_modules folder or via lerna link to the mashlib and CSS folders
  • you should edit the data-kitchen/kitchen.json configuration file to have the kitchen look at your file system rather than the boring default of the current directory