Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.41 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.41 KB

Unison Share UI

CI

This repository contains the implementation of the Unison Share front end. It talks to the @unisoncomputing/share-api API server backend.

Running Development Server

Prerequisites: node v20 or higher.

  1. Start Share API
  2. Make sure the latest dependencies are installed with by running npm install.
  3. Start the dev server with: API_URL="<SHARE API URL>" npm start

Note that Share API hosts on http://localhost:5424 be default, so its likely what you'll run with, but you can always see the URL when starting Share API.

  1. Visit http://localhost:1234 in a browser.

Dependencies

This depends on the ui-core package via elm-git-install. That package includes both the Unison design system, and a core set of components for working with and rendering Unison definitions and namespaces.

The UI Core dependency can be updated to its latest version with this command:

npm run ui-core-update

To install a specific sha:

npm run ui-core-install -- [SOME_UI_CORE_SHA]