Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 976 Bytes

File metadata and controls

35 lines (20 loc) · 976 Bytes

Example $ PureScript + React + Electron

Screenshot

Getting ready

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

Running in browser

$ pulp server

and then navigate to http://localhost:1337

Running in Electron

First install Electron:

$ npm install electron-prebuilt -g

Then, assuming you are in the example project directory execute:

$ electron .