$ cd ~
$ git clone https://github.com/ssbc/patchwork-electron.git
$ cd patchwork-electron
$ npm install
$ npm startTo use the latest patchwork version, do the following:
$ cd ~
$ git clone https://github.com/ssbc/patchwork.git
$ cd patchwork
$ npm install
$ npm link
$ cd ~/patchwork-electron/app
$ npm link ssb-patchworkIf you get an error similar to:
Uncaught Exception: Error: Module version mismatch. Expected 50, got 48.
It means your installed node version is not compatible with the version of Electron patchwork uses. You'll need to rebuild your node module folder using:
$ npm run rebuild$ npm run releaseThis repo is based on https://github.com/szwacz/electron-boilerplate. Check that repo to get more information on the structure and scripts.