/electron-run-shell-example

An example of a standalone HTML5 app using GitHub's Electron project (Chrome Engine + Node.js). This shows running a bash shell as a child process and pouring the output into HTML5 elements.

Primary LanguageJavaScript

An HTML5 stand alone app using GitHub Electron (Chrome engine + Node.js) -- this is a GUI wrapper example that runs and process output of a bash shell command.

SETUP

  1. Install GitHub's Electron
  2. Clone this repository
  3. initialize node modules
  4. run application

Install GitHub's Electron

$ sudo npm install electron-prebuilt -g

Clone this repository

$ mkdir ~/projects/
$ git clone https://github.com/martinjackson/electron-run-shell-example.git
$ cd electron-run-shell-example

initialize node modules

$ npm install

run application

$ npm start
--- or ---
$ electron .