Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

OpenBazaar 2.0 Desktop Client (talks to openbazaar-go server daemon)

License

Notifications You must be signed in to change notification settings

OpenBazaar/openbazaar-desktop

Repository files navigation

OpenBazaar Client v2

Build Status

Installation

  1. Clone the client repository into a directory of your choice:
  • git clone https://github.com/OpenBazaar/openbazaar-desktop
  1. Navigate into the new folder created in (1)
  • cd openbazaar-desktop
  1. npm install

Running

npm start will:

  • compile your Sass / re-compile on changes
  • run BrowserSync in watch mode so the app automatically refreshes on JS and HTML changes and dynamically injects any CSS / Sass changes**.
  • launch the Electron app

** At this time, the app will not refresh on main.js (or other root folder JS changes). This would require the entire Electron app to refresh and BrowserSync is only refreshing our browser.

Linting

npm run lint will run eslint on the JS files.

npm run lint:watch will run eslint on any JS file changes.

Testing

npm run test will execute test files in the test folder.

npm run test:watch will execute the tests on any file changes.