Code Monkey home page Code Monkey logo

hac-core's Introduction

hac-core

Core repo for the Hybrid Application Console (HAC) project. Manages the connectivity between the ConsoleDot Chrome & the HAC Dynamic Plugins.

Dynamic Plugins

This repo will closely work with the SDK for Dynamic Plugins to deliver a consistent interface that loads Dynamic Plugins.

Note: Today it includes a hacked up version of the SDK to allow us to configure and set up the interface between ConsoleDot and Dynamic Plugins

Local development

If you want to run your plugin locally with hac-core you will have to update /config/dev.webpack.config.js routes to include your plugin. Then you will have to install and run this application

cd frontend
yarn install
yarn dev

Running with dynamic plugins - openshift console

If you want to run with dynamic plugin from openshift console, simply host the dynamic plugin from the console with backend bridge.

./bin/bridge -plugins console-demo-plugin=http://localhost:9001/

Running with dynamic plugins - new dynamic plugin

If you want to run the hac-core with dynamic plugin served outside openshift no need for any extra steps. Just run your dynamic plugin using npm run start:federated and hac-core with yarn dev. This will start dynamic plugin in federation mode and hac-core will be the host application. The path over which your plugin is available will be printed when starting it, you should then go to /config/dev.webpack.config.js and adjust it based on the comments there. After adjusting it, you should restart the hac-core app.

Development

To install & build (for production) the code you can run ./build.sh.

To verify everything is ready for a Pull Request you can run ./test.sh.

If you wish to debug or contribute, see the frontend README.

hac-core's People

Contributors

karelhala avatar openshift-merge-robot avatar andrewballantyne avatar florkbr avatar psav avatar invinciblejai avatar coverprice avatar rohitkrai03 avatar

Watchers

James Cloos 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.