mirror of
https://github.com/haveno-dex/haveno-ui.git
synced 2024-09-07 16:31:53 +00:00
Haveno user interface
.github | ||
.husky | ||
.storybook | ||
.vscode | ||
buildResources | ||
packages | ||
scripts | ||
tests | ||
types | ||
.browserslistrc | ||
.editorconfig | ||
.electron-builder.config.js | ||
.electron-vendors.cache.json | ||
.env.example | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.nano-staged.mjs | ||
.prettierignore | ||
commitlint.config.js | ||
LICENSE | ||
package.json | ||
README.md | ||
vitest.config.js | ||
yarn.lock |
Haveno User Interface
Development
Prerequisites
- Node 16.x
- yarn 1.x
- Run user1-daemon-local and envoy proxy by following these instructions
Install dependencies
yarn
Configure environment variables
Copy .env.example to a file called .env
and point the environment variables to the envoy proxy.
Start the app in watch mode
yarn watch
Tests
yarn test
Storybook
yarn storybook
App Data Folder
The UI's data folder can be cleared to reset the UI state, located at:
- Mac: ~/Library/Application Support/haveno-ui/
- Linux: ~/.local/share/haveno-ui/
- Windows: ~\AppData\Roaming\haveno-ui\