Vitrivr NG is a web-based user interface for searching and browsing mixed multimedia collections. It provides the user with the ability to use cineast's retrieval capabilities.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.angular-cli.json
.bowerrc
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
evaluation.json
karma.conf.js
package.json
protractor.conf.js
tsconfig.json
tslint.json

README.md

Vitrivr NG

Build Status

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.

Setup environment

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!

Configure

The configuration of Vitrivr NG can be made through the src/config.json file. Most importantly, you have to adjust the api.host and api.port settings so that they point to a running instance of Cineast. Furthermore, you have to adjust the URLs under resources.host_thumbnails and resources.host_object. All references to thumbnails and media files will be resolved relative to those locations.

Development server

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.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/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.

Further help

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