Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

The For JOC Cockpit the joc-cockpit repository holds the source code for a JavaScript based Web Browser GUI to manage JS7.

Prerequisties

The joc-cockpit projects is a Angular project wrapped in a maven project. To be able to build the Angular source code node.js and npm (node package manager) have to be installed.
SOS uses node.js version v12.21.0 and npm version 6.14.11. The usage of the build tool is managed in the maven configuration of the project.

Clone Repository

Navigate to your desired destination folder and clone the repository from the github page.

Code Block
languagebash
git clone https://github.com/sos-berlin/joc-cockpit

Checkout

Checkout Tagged Version

Code Block
languagebash
titleRetrieve list of available tagged versions
git fetch --all --tags
Code Block
languagebash
titleCheckout a desired version to a local branch
git checkout tags/[desired version] -b [desired local branch name]
e.g.
git checkout tags/v2.0.0 -b release/v2.0.0

Checkout Latest Tagged Version

Determine latest tagged version and store it to a local variable.

...

Code Block
languagebash
titleCheckout Latest
git checkout $tag -b latest

Build

From the root of the checked out project call:

...