Skip to content

cnieg/gantt

Repository files navigation

Java CI with Maven Docker Pulls

What is it ?

This project is a web app to make gantt diagrams on a browser

Files for your organization

In order to run, the app needs 2 files in the folder fichier.

Team

A file team.json describing your organization teams :

[{
  "key": 1,
  "label": "Unassigned",
  "backgroundColor": "#03A9F4",
  "textColor": "#FFF"
}, {
  "key": 2,
  "label": "First team",
  "backgroundColor": "#f57730",
  "textColor": "#FFF"
}, {
  "key": 3,
  "label": "Second team",
  "backgroundColor": "#e157de",
  "textColor": "#FFF"
}]

Status

A file status.json describing your organization teams :

[{
   "key": "todo",
   "label": "TO DO",
   "backgroundColor": "#dfe1e5",
   "textColor": "#42526e"
 }, {
   "key": "in_progress",
   "label": "En cours",
   "backgroundColor": "#deebff",
   "textColor": "#0747a6"
 }, {
   "key": "blocked",
   "label": "Bloqué",
   "backgroundColor": "#ffbdaf",
   "textColor": "#ff2d00"
 }, {
   "key": "done",
   "label": "Terminé",
   "backgroundColor": "#e3fcef",
   "textColor": "#064"
 }]

Installation

With Kubernetes and Helm

  1. Create a file override.yaml to override the default values.yaml of the Chart.
  2. In a terminal, enter following commands :
helm repo add github-cnieg https://cnieg.github.io/helm-charts
helm repo update
helm upgrade -i <release_name> github-cnieg/gantt --version <chart_version>

With Docker

docker run --name gantt cnieg/gantt

Build

Before building the app, you need to have installed :

  • Maven 3
  • Java 13

Once done, just run the following command :

mvn clean package

Then, if you need to start the app :

java -jar target/gant-<version>.jar