Coder Social home page Coder Social logo

srambach / kogito-tooling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tiagobento/incubator-kie-tools

0.0 2.0 0.0 92.6 MB

Tooling for Kogito http://kogito.kie.org

License: Apache License 2.0

TypeScript 86.29% JavaScript 8.46% CSS 4.41% HTML 0.83%

kogito-tooling's Introduction

Kogito

Kogito is the next generation of business automation platform focused on cloud-native development, deployment and execution.

GitHub Stars GitHub Forks GitHub Issues Pull Requests Contributors License Twitter Follow

Quick Links

Homepage: http://kogito.kie.org

Wiki: https://github.com/kiegroup/kogito-tooling/wiki

JIRA: https://issues.jboss.org/projects/KOGITO

jBPM: https://www.jbpm.org/

Drools: https://www.drools.org/

Getting Started

This module contains a number of examples that you can take a look at and try out yourself. Please take a look at the readme of each individual example for more details on how the example works and how to run it yourself (either locally or on Kubernetes):

Releases

In Kogito Tooling releases page you will find extensions and released tooling packages.

Build from source

  1. Check out the source:

    git clone [email protected]:kiegroup/kogito-tooling.git
    

    If you don't have a GitHub account use this command instead:

    git clone https://github.com/kiegroup/kogito-tooling.git
    
  2. Build with Yarn:

    cd kogito-tooling
    yarn run init
    
    #prod
    yarn run build:prod
    
    # dev
    yarn run build # skips integration tests and production packing
    yarn run build:fast # skips lint and unit tests

    NOTE: It's necessary to have the Git tags fetched when building with build:prod.

    Final artifacts will be on packages/*/dist directories.

Develop

NOTE: We recommend using LTS version of Node.js when developing this project.

VSCode Extension
  1. After you've successfully built the project following the instructions above, open the packages/vscode-extension-pack-kogito-kie-editors folder on VSCode. Use a new VSCode window so that the packages/vscode-extension-pack-kogito-kie-editors folder shows up as root in the VSCode explorer.
  2. From there, you can Run the extension or the integration tests by using the Debug menu/section. You can also use the respective shortcuts (F5 to start debugging, for instance).
  3. Remember! If you make changes to packages other than packages/vscode-extension-pack-kogito-kie-editors, you have to manually rebuild them before relaunching the extension on VSCode.
Chrome Extension
  1. After you've successfully built the project following the instructions above, open the packages/chrome-extension-pack-kogito-kie-editors folder on your favourite IDE. You can import the entire repo as well if you want to make changes to other packages.
  2. Open a terminal and run yarn run serve-envelope on packages/chrome-extension-pack-kogito-kie-editors. This will start a webpack-dev-server instance with the editors and their envelope. We use that because we don't pack the Chrome Extension bundle with the editors inside. Instead, we fetch them from GitHub pages.
  3. Open Chrome and go to chrome://extensions. Enable "Developer mode" on the top right corner and click on "Load unpacked". Choose the packages/chrome-extension-pack-kogito-kie-editors/dist folder.
  4. From now on you can use the development version of the extension. Remember! After each change, you have to rebuild the changed modules and hit the "Refresh" button of the extension card.
Online Editor
  1. After you've successfully built the project following the instructions above, open the packages/chrome-extension-pack-kogito-kie-editors folder on your favourite IDE. You can import the entire repo as well if you want to make changes to other packages.
  2. Open a terminal and run yarn run serve-envelope on packages/chrome-extension-pack-kogito-kie-editors. This will start a webpack-dev-server instance with the editors and their envelope. We use that because we don't pack the Online Editor bundle with the editors inside. Instead, we fetch them from GitHub pages.
  3. Open a terminal and run yarn start on packages/online-editor. This will start a webpack-dev-server instance with the Online Editor resources.
  4. You also have to enable invalid certificates for resources loaded from localhost in your browser. To do that, go to chrome://flags/#allow-insecure-localhost in your Chrome browser and enable this flag.
  5. From now on you can use the development version of the Online Editor by accessing https://localhost:9001.

Contributing to Kogito

All contributions are welcome! Before you start please read the Developing Drools and jBPM guide.

Guides

Here are some of the most notable ones for quick reference:

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.