Skip to content
/ ui Public

OpenTOSCA UI

License

Apache-2.0, EPL-1.0 licenses found

Licenses found

Apache-2.0
LICENSE-ASL.txt
EPL-1.0
LICENSE-EPL.txt
Notifications You must be signed in to change notification settings

OpenTOSCA/ui

Repository files navigation

OpenTOSCA UI 2.0

Build Status License License

Part of the OpenTOSCA Ecosystem

Prerequisites

  1. Install Git
  2. Install and setup Node.js > 8.9 and NPM > 7.0 for Angular.io
  3. Install angular-cli npm install -g @angular/cli

Local Development Setup

  1. git clone https://github.com/OpenTOSCA/ui.git opentosca-ui && cd opentosca-ui
  2. npm install

Run Development Server

Run ng serve (or npm run start) for a dev server. Navigate to http://localhost:4202/. The app will automatically reload if you change any of the source files.

Note: Be sure that no other process is listening on port 4202. You can change the port in the defaults object in .angular-cli.json.

Production Build

Before conducting a release, we have to lock down the dependency versions:

npm install --no-shrinkwrap
npm shrinkwrap

Afterwards, run ng build (or npm run build) to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag (or npm run build:prod) for a production build.

Lint the TypeScript project

ng lint

# or run
npm run lint

Build the WAR archive

mvnw clean package

Copy the WAR archive from Maven's build output directory (build\target) to your Apache Tomcat instance.

Code scaffolding

Use angular-cli to generate new files!

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

License

Copyright (c) 2016-2022 University of Stuttgart.

All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and the Apache License v2.0 which both accompany this distribution, and are available at http://www.eclipse.org/legal/epl-v10.html and http://www.apache.org/licenses/LICENSE-2.0.

Haftungsausschluss

Dies ist ein Forschungsprototyp. Die Haftung für entgangenen Gewinn, Produktionsausfall, Betriebsunterbrechung, entgangene Nutzungen, Verlust von Daten und Informationen, Finanzierungsaufwendungen sowie sonstige Vermögens- und Folgeschäden ist, außer in Fällen von grober Fahrlässigkeit, Vorsatz und Personenschäden ausgeschlossen.

Disclaimer of Warranty

Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.