GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feast/sdk/python/feast/ui/README.md at master · luodinglin/feast

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
41 lines (31 loc) · 1.17 KB
/

README.md

Copy path

File metadata and controls

41 lines (31 loc) · 1.17 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Example Feast UI App

This is an example React App that imports the Feast UI module.

See the module import in src/index.js. The main change this implements on top of a vanilla create-react-app is adding:

import ReactDOM from "react-dom";
import FeastUI from "@feast-dev/feast-ui";
import "@feast-dev/feast-ui/dist/feast-ui.css";

ReactDOM.render(
  <React.StrictMode>
    <FeastUI />
  </React.StrictMode>,
  document.getElementById("root")
);

It is used by the feast ui command to scaffold a local UI server. The feast python package bundles in resources produced from npm run build --omit=dev.

The feast ui command will generate the necessary projects-list.json file and initialize it for the UI to read.

Note: yarn start will not work on this because of the above dependency.

Dev

To test with a locally built Feast UI package, do:

  1. yarn link in ui/
  2. yarn install in ui/
  3. yarn link in ui/node_modules/react
  4. yarn link in ui/node_modules/react-dom
  5. and then come here to do:
    yarn link "@feast-dev/feast"
    yarn link react
    yarn link react-dom
    yarn start

See also react/react#14257.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.