This directory contains the source code distribution of Vitrivr NG (stands for either 'Angular' or 'Next Generation'). It was created using Angular
Vitrivr NG is a web-based user interface developed to be used with the latest version if Cineast. It allows the user to browse in and retrieve from mixed multimedia collections.
For development, you will require NodeJS and the npm package manager. The Vitrivr NG project was created with Angular CLI so you need to install that as well. Once npm is available on your machine, you can install Angular CLI globally using the following command in your console:
npm install -g @angular/cli
That's it. Now you should be ready to run Vitrivr NG!
The configuration of Vitrivr NG can be made through the src/config.json file. Most importantly, you have to adjust the
api.port settings so that they point to a running instance of Cineast. Furthermore, you have to adjust the URLs under
resources.host_object. All references to thumbnails and media files will be resolved relative to those locations.
From the project folder, run
ng serve to start a development server. Navigate to
http://localhost:4200/. The app will automatically reload if you change any of the source files.
ng generate component component-name to generate a new component. You can also use
ng generate directive/pipe/service/class/module.
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
ng test to execute the unit tests via Karma.
To get more help on the Angular CLI use
ng help or go check out the Angular CLI README.