$ cd ~
$ git clone https://github.com/ssbc/patchwork-electron.git
$ cd patchwork-electron
$ npm install
$ npm start
To 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-patchwork
If 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 release
This repo is based on https://github.com/szwacz/electron-boilerplate. Check that repo to get more information on the structure and scripts.