haven-protocol-org / haven-web-app

https://havenprotocol.org/
30 stars 17 forks source link

Haven Frontend for Web and Desktop

Official Haven Frontend Monorepository for Haven Desktop and Haven Web Version.

Main Libraries: React, Redux, Electron, Styled Components

Languages: Typescript, Javascript

Web

Environments

Build & Develop

  1. Navigate to client folder
  2. Build the app for given environment
  3. Start the app for given environment
cd client
npm run build:web:testnet
npm run start:web:testnet

Desktop

Build

  1. Navigate to client folder
  2. Build the app for the environment
cd client
npm run build:desktop:testnet

To build the final desktop build

sh ./sh/make_testnet.sh

Develop

  1. Run start script to prepare client
  2. Start the build by executing shell script
npm run start:desktop:testnet
cd ../
sh ./sh/develop_testnet.sh