If you haven't done it already, install purescript
(a compiler) and pulp
(a build tool):
$ npm install -g purescript pulp
Clone the repository and make it ready (gulp
is only needed because I don't know how to do better ;))
$ git clone [email protected]:AlexeyRaga/purescript-react-electron-example.git
$ cd purescript-react-electron-example
$ npm install # installs js dependencies
$ pulp dep install # installs purescript dependencies
$ gulp # builds the project
$ pulp server
and then navigate to http://localhost:1337
First install Electron:
$ npm install electron-prebuilt -g
Then, assuming you are in the example project directory execute:
$ electron .