Git Product home page Git Product logo

fabric8-planner's Introduction

Fabric8 Planner

Jenkins npm Codecov.io Semantic Release

Overview

Fabric8 Planner is a task planner and the issue tracker front-end for openshift.io. It uses the Fabric8 Work Item Tracker as the back-end.

The Planner project provides a component library which is used by other applications to provide a task planning front-end.

Running the Planner

The Planner is available as an npm package. It can not be run by itself as it is an Angular component library.

However, for development and testing purpose, a minimal runtime environment is available in the runtime directory. So you can run Planner either as a minimal Standalone component or as an Integrated component using an external webapp like the fabric8-ui. Typically, you would want to develop in the Standalone mode and test your changes in the Integrated mode.

Quickstart

The Planner build can be quickly run using the launcher script.

You can use the launcher script to run the Planner either as a Standalone component or as an Integrated component using an external webapp like the fabric8-ui.

  • Without Docker: To run a minimal runtime implementation of the Planner using an in-memory mock database use:

    $ scripts/run-planner.sh --standalone

    You can access the service on localhost:8080

    Note
    To run the script on macOS, install gnu-getopt, run brew install gnu-getopt, and set it in your PATH: echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.zshrc.
  • With Docker: To run the complete Planner stack using Docker Compose with core, auth and their respective database setups use:

    docker-compose up

For detailed information on building and running Planner see Building the Planner Component Library documentation.

Useful Scripts and Tasks

The Planner delegates task running to gulp and allows parametric subtasks in the format of npm run <task> -- --subtask which translates into gulp <task> --subtask which is then can be executed.

The scripts section of the package.json file lists the main tasks i.e. build, clean & test. Following table lists the available npm scripts managed with gulp tasks, but to understand the routines triggered by the subtask parameters, please check out the gulpfile:

Task Subtask Command Description

Build

[default] app

npm run build or npm run build -- --app

Builds the planner library

image

npm run build -- --image

Creates container image for the app

release

npm run build -- --release

Publishes the library to npm registry

tarball

npm run build -- --tarball

Packs the library into a tarball

validate

npm run build -- --validate

Dry runs the build for validation

watch

npm run build -- --watch

Rebuilds planner library on file changes

Clean

[default] all

npm run clean or npm run clean -- --all

Fully resets the project

cache

npm run clean -- --cache

Clears npm cache

config

npm run clean -- --config

Resets app config & env_vars

dist

npm run clean -- --dist

Removes the build artifacts

images

npm run clean -- --images

Stops containers & removes the images

modules

npm run clean -- --modules

Removes all node modules

temp

npm run clean -- --temp

Removes temp files and artifacts

Tests

unit

npm run tests -- --unit

Runs the unit tests

func

npm run tests -- --func

Runs the functional tests

smok

npm run tests -- --smok

Runs the smoke tests

Commands with strikethroughs aren’t yet implemented.

Documentation

The following documentation is available in the docs directory:

  • Building the Planner: Provides information on manually building the Planner in Standalone, Integrated, and Production environments.

  • Technology Stack: Lists the the technology stack used by Planner.

  • Testing: Covers the tests you can run on Planner.

Contributing

All contributions are welcome, if you want to contribute to this project, ensure you follow the Contribution Guidelines.

fabric8-planner's People

Contributors

aslakknutsen avatar corinnekrych avatar debloper avatar dgutride avatar divyanshigupta avatar dlabrecq avatar fabric8cd avatar harrybabu avatar hectorj2f avatar jarifibrahim avatar jaseemabid avatar joshuawilson avatar kbsingh avatar kwk avatar ldimaggi avatar michaelkleinhenz avatar mindreeper2420 avatar naina-verma avatar nainav avatar nimishamukherjee avatar pmuir avatar pranavgore09 avatar raunak1203 avatar rawlingsj avatar rgarg1 avatar sahil143 avatar sanbornsen avatar sbose78 avatar smahil avatar vikram-raj avatar

Watchers

 avatar  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.