Skip to content

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.

License

LukasStoeckli/vitrivr-ng

 
 

Repository files navigation

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.

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 76.4%
  • CSS 14.6%
  • HTML 8.5%
  • JavaScript 0.5%