Skip to content
forked from HadoukenIO/core

Hadouken is an open-source platform for creating web applications with native desktop experience. Hadouken is the base project used to build OpenFin OS, a desktop operating layer used by 45+ major banks, buy-side and vendors to deploy hundreds of apps to over 400 financial firms.

License

Notifications You must be signed in to change notification settings

pjbroadbent/core

 
 

Repository files navigation

Hadouken Core Build Status Join the HadoukenIO Community on Slack

Requirements

The following setup is known to be working well. You can try other versions at your own risk of losing a lot of time.

_______________

* Only needed on Windows

Building the project

Mac/Linux

npm install

Windows

You need to ensure that Visual Studio 2013 is used to build the project.

npm update -msvs_version=2015
npm install

Testing

  • Install the OpenFin cli tool
npm install -g openfin-cli

app.json

{
    "startup_app": {
        "name": "OpenfinPOC",
        "description": "OpenFin POC",
        "url": "http://www.openfin.co",
        "uuid": "OpenfinPOC-hla8ix6e0y2iwwjlxkojkbj4i",
        "autoShow": true
    },
    "runtime": {
        "arguments": "",
        "version": "[replace this with a version]"
    }
}
  • Launch OpenFin runtime once
openfin --config app.json --launch 
  • Replace the OpenFin core with a built Hadouken core
npm run deploy -- --target=C:\Users\[username]\AppData\Local\OpenFin\runtime\[replace this with a version]\OpenFin\resources
  • Now you can re-launch the OpenFin runtime with the modified Hadouken core.
openfin --config app.json --launch 

Using node-inspector

  • Set breakpoints and debug using Chrome (check node-inspector's documentation on how do it)

API Documentation

API Docs for the OpenFin core are available here:

Alpha: (http://cdn.openfin.co/jsdocs/alpha/) Stable: (http://cdn.openfin.co/jsdocs/stable/)

File Structure Notes

The contents of /src/renderer/extended folder is referenced by the openfin.asar (not contained in this project)

About

Hadouken is an open-source platform for creating web applications with native desktop experience. Hadouken is the base project used to build OpenFin OS, a desktop operating layer used by 45+ major banks, buy-side and vendors to deploy hundreds of apps to over 400 financial firms.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 56.1%
  • TypeScript 42.5%
  • HTML 1.4%