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.
We develop the Knora-ui modules with Angular 6, especially with Angular-cli, which requires the following tools:
We use yarn instead of npm. To install yarn on macOS:
$ brew install yarn
For other platforms, please go to the yarn website.
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
Install the node packages with:
$ yarn install --prod=false
build with:
$ yarn build
run with:
$ ng s
or
$ ng s --prod
Run yarn install --prod=false
to install all the package dependencies.
Run ng serve
for a dev server.
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
.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.