Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

A prototype of what a pluggable output might look like in Data-Forge Notebook v2.

License

Notifications You must be signed in to change notification settings

data-forge-notebook/pluggable-output-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pluggable-output-prototype

This is a prototype of how "pluggable cell outputs" (user creatable visualizations) might work in Data-Forge Notebook v2.

Click here to contribute to the discussion

Follow the developer on Twitter for more frequent news and updates

Click for the main DFN code repository

File system

  • child-page/
    • A static web page that emulates how a DFN v2 output plugin might be created.
  • parent-page/
    • Demonstration of how DFN v2 will embed an output plugin using an iframe.

Prereqs

You need Git and Node.js installed.

Setup

Open a terminal and clone this repository:

git clone https://github.com/data-forge-notebook/pluggable-output-prototype.git

Change directory into the local code repository:

cd pluggable-output-prototype

First, run the web server for the output plugin

Run the build and server for the child web page:

cd child-page
npm install
npm start

Run it: Electron

Open a new terminal and run the parent-page in Electron:

cd parent-page
npm install
npm run electron

Run it: Browser

Open a new terminal and run the dev server for the parent web page:

cd parent-page
npm install
npm start

Open the web page for the parent (http://127.0.0.1:5001) and check the console. You'll see output of a message from the parent to the child, and then from the child to the parent.

About

A prototype of what a pluggable output might look like in Data-Forge Notebook v2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages