Skip to content

explorable-viz/fluid

Repository files navigation

Fluid: Language-integrated data provenance

Fluid is an experimental programming language which integrates a bidirectional dynamic analysis to connect outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.

develop GitHub pages v0.3.1-typescript

Installation

Software required

  • Windows users: Ubuntu (WSL)
  • git
  • Node.js >=14.0.0
  • yarn

Notes

  • Run script/dev-setup.sh after cloning repository
  • Avoid having PureScript installed globally
  • Add Npm Path is selected in PureScript IDE extension settings
  • VSCode for Windows users:
    • Launch VSCode through Ubuntu (WSL) terminal
    • Install WSL extension in VSCode

Running tests on command line

  • yarn build and then yarn test for core tests
  • yarn build-puppeteer and then yarn test-puppeteer to run puppeteer tests

Running tests in browser

  • As per command-line tests above, but run yarn test-browser
  • Hit Debug in the browser window that opens, and then open Developer Tools or equivalent

Running web app

  • yarn build-app
  • yarn serve-app
  • Open a browser at the served URL (usually 127.0.0.1:8080)