An open API service indexing awesome lists of open source software.

https://github.com/lidofinance/trp-ui


https://github.com/lidofinance/trp-ui

protocol ui

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# TRP UI

### Pre-requisites

- Node.js v16
- Yarn package manager

## Development

Step 1. Copy the contents of `.env` to `.env.sample`

```bash
cp .env .env.sample
```

Step 2. Fill out the `.env.local`. You may need to sign up for [Infura](https://infura.io/) or [Alchemy](https://www.alchemy.com/), if you haven't already, to be able to use Ethereum JSON RPC connection.

Step 3. Install dependencies

```bash
yarn
```

Step 4. Start the development server

```bash
yarn dev
```

Step 5. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Production

```bash
yarn build && yarn start
```

## Release flow

To create new release:

1. Merge all changes to the `main` branch
1. Navigate to Repo => Actions
1. Run action "Prepare release" action against `main` branch
1. When action execution is finished, navigate to Repo => Pull requests
1. Find pull request named "chore(release): X.X.X" review and merge it with "Rebase and merge" (or "Squash and merge")
1. After merge release action will be triggered automatically
1. Navigate to Repo => Actions and see last actions logs for further details