share-ui
                                
                                 share-ui copied to clipboard
                                
                                    share-ui copied to clipboard
                            
                            
                            
                        The UI for Unison Share
Unison Share UI
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.
- Start Share API
- Make sure the latest dependencies are installed with by running npm install.
- 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.
- Visit http://localhost:1234in 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.
Bumping ui-core package
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]