Code Monkey home page Code Monkey logo

hyperblotter's Introduction

Hyperblotter Demo

Hyperblotter is a demonstration app to show the capabilities of both OpenFin and HyperGrid. Additionally it illustrates how to co-deploy traditional desktop applications, in this case .NET, with an OpenFin App, and how to embed HTML5 content into WPF.

Currently OpenFin applications only run in a Windows environment. Applications may also be run on Mac or Linux by either using a Windows Virtual Machine (VM) or an NPM install. Oracle's Virtual Box is a free, open-source VM which may be used.

Demo Installer

On a Windows machine, you can install Hyperblotter via this installer:

Hyperblotter

On a Mac machine, you can install hyperblotter via a terminal command with these 2 steps:

$ npm install -g openfin-cli 
$ openfin --launch --config http://cdn.openfin.co/demos/hyperblotter/app.json

Build and run demo from source on local machine:

Clone this Git repository and in the Terminal window, change directories into the created Directory 'Hyperblotter'. The following instructions are written in Unix syntax so it is recommended you use a compatible terminal app on a Windows machine, eg: Git Bash or Cmder.

$ cd Hyperblotter

If Node and NPM are not installed, install them from here. Node version 4.2.1 or higher is required.

If yarn is not installed, install from here or with npm

$ npm install -g yarn

Run app locally

Open a terminal window and change the directory to the 'Hyperblotter' folder.

$ cd Hyperblotter

In the terminal window, install dependencies using yarn:

$ yarn install

NB: (the additional 'sudo' command may be required, eg. 'sudo yarn install' at which point you will be prompted to enter your admin password).

The app runs locally on a simple Node server and the code is compiled using Gulp as a build tool.

The app must first be compiled. This only needs to be done the first time the app is run, but the app will need to be recompiled if modifications are made to the code.

In the terminal, build the project from the source files:

$ yarn build

Then start the app:

NB for a production Node app this would require hosting remotely on Heroku, AWS or a similar platform. OpenFin is not designed to install apps locally.

$ yarn start

yarn start starts the server and launches OpenFin.

An executable should now be created and launched.

hyperblotter's People

Contributors

chuckdoerr avatar danielonodje avatar datamadic avatar dcchuck avatar mjosling avatar nicholasdgoodman avatar refinedblessing avatar stevewirts avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.