Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 925 Bytes

README.md

File metadata and controls

49 lines (35 loc) · 925 Bytes

patchwork-electron

Running from source

$ 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

Troubleshooting

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

Building

$ npm run release

More info

This repo is based on https://github.com/szwacz/electron-boilerplate. Check that repo to get more information on the structure and scripts.