Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

dhlab-basel/knora-admin

Repository files navigation

Build Status

Knora Admin

This app will be for Knora system administrators.


This project was generated with Angular CLI version 6.0.0.

Developed by the DaSCH Team in Basel.

Prerequisites

We develop the Knora-ui modules with Angular 6, especially with Angular-cli, which requires the following tools:

Yarn

We use yarn instead of npm. To install yarn on macOS:

$ brew install yarn

For other platforms, please go to the yarn website.

Node

Install Node in version >=4 <=9. We recommend to use version 8.9.0. The easiest way to install node in the correct version is to use 'n':

$ yarn global add n
$ n v8.9.0

First steps

Install the node packages with:

$ yarn install --prod=false

build with:

$ yarn build

run with:

$ ng s
or
$ ng s --prod

Install

Run yarn install --prod=false to install all the package dependencies.

Serve

Run ng serve for a dev server.

Code scaffolding

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

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

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

About

Knora System Admin App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published