filecoin-saturn / L1-dashboard

https://dashboard.saturn.tech
Other
6 stars 4 forks source link

Saturn Node Web UI

ci

A dashboard UI for Filecoin Saturn's L1 node.

Hosted at https://dashboard.saturn.tech

Install

npm install

Development

npm run dev

This will start a development server for the frontend. Follow the Saturn L2 docs to setup the backend.

WebUI

This dashboard apart from being served as a standalone website, is also embedded in L2 node in what is called webui mode. In this mode navigation bar is hidden and only the address page is accessible.

To develop dashboard in webui mode:

npm run dev:webui

To build dashboard in webui mode:

npm run build:webui

To preview webui dashboard build:

npm run preview:webui

Tips

Continuous Deployment

This repository is connected to fleek.co and set up to:

Updating Saturn-L2 Release Version

  1. Commit changes to the main branch
  2. Update the version (npm version [major|minor|patch], it will create a new tag vN.N.N, note it down)
  3. Push main branch and the vN.N.N tag to GitHub: git push --atomic origin main vN.N.N
  4. Modify the Saturn L2 release workflow to reference to new tag vN.N.N.

License

SPDX-License-Identifier: Apache-2.0 OR MIT