Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

getpolygon/ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a5b58c8 · Aug 5, 2022

History

34 Commits
Mar 31, 2022
Mar 12, 2022
Feb 15, 2022
Apr 21, 2022
Feb 5, 2022
Mar 6, 2022
Aug 5, 2022
Apr 5, 2022
Feb 5, 2022
Mar 6, 2022
Mar 3, 2022
Apr 21, 2022
Feb 5, 2022
Mar 3, 2022

Repository files navigation

ui

FOSSA Status Node.js CI

This repository contains the source code to the official user interface of the Polygon Open-Source Project.

Running locally

To run Polygon's UI locally, you will need to set several environment variables in a .env.local file in your project's root:

  • POLYGON_CORE_URL - The URL of your Polygon core instance.
  • IRON_SESSION_SECRET - A 512 bit random string for cookie encryption.

After setting the variables, you can run the following command to start the UI:

yarn dev

or, if you would like to run an optimized production build

yarn build
yarn start

Deploying to a cloud provider

If you want to deploy your instance of Polygon's UI to a cloud provider such as Netlify or Vercel, we have got you covered. You can deploy with these providers by clicking any of the buttons below!

Deploy with Vercel Deploy to Netlify

Note: if you choose to host with Netlify, follow Netlify's environment variable declaration documentation to set required environment variables from the control panel.