https://github.com/pooltogether/tools-ui
A collection of tools for PoolTogether.
https://github.com/pooltogether/tools-ui
Last synced: about 1 year ago
JSON representation
A collection of tools for PoolTogether.
- Host: GitHub
- URL: https://github.com/pooltogether/tools-ui
- Owner: pooltogether
- License: mit
- Created: 2022-03-10T22:29:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-27T13:53:10.000Z (about 3 years ago)
- Last Synced: 2024-04-23T21:42:41.228Z (over 2 years ago)
- Language: CSS
- Homepage: https://tools.pooltogether.com/
- Size: 3.63 MB
- Stars: 2
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PoolTogether Tools UI
A collection of tools built on top of the core PoolTogether protocol.
## 💾  Installation
Install dependencies:
```
yarn
```
Make sure you have `direnv` installed and copy `.envrc.example` to `.envrc`:
```
cp .envrc.example .envrc
```
Fill in your own values for `.envrc`, then run:
```
direnv allow
```
Download the localizations:
```
yarn locize:download
```
To run the local server, run:
```
yarn dev
```
## Developer
### Tools
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [Locize](https://locize.io/login)
### Localization
- Be sure to download latest copy locally. This is done automatically on build.
- To add strings they must be manually added to Locize. t(key, defaultValue) isn't fully set up for `next-i18next`
### PoolTogether Repos
Some configs are shared across multiple repos. Be sure to update across all if you make changes.
#### Repos
- v4-ui
- governance-ui
- tools-ui
#### Shared
- /public/fonts
- /styles/index.css
- eslintrc.json
- .gitignore
- .nvmrc
- .prettierrc
- .prettierignore
- some .envrc
- tsconfig.json
- next-i18next.config.js