2.0 Desktop Client for OpenBazaar (talks to openbazaar-go server daemon)
JavaScript HTML CSS Shell
Latest commit c6f272d Feb 20, 2017 @rmisio rmisio committed on GitHub Merge pull request #365 from OpenBazaar/spacingInSettingsForms
Add gutter to form elements in Settings

README.md

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
  2. Navigate into the new folder created in (1)
    • cd openbazaar-desktop
  3. npm install

Running in non-dev mode

Use this option if you're not actively developing on the client and just want to run the client from source.

npm run start-app will:

  • launch the Electron app

Running in dev mode

Use this option if you're actively developing on the client and want the client started along with some helper development processes.

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.