quist00 / onesearch-local

Provides a anuglar2 implementation of OneSearch (formerly Primo) searchbox that can be embedded on library's page
GNU General Public License v3.0
0 stars 0 forks source link

OnesearchLocal

Provides a angular2 implementation of OneSearch (formerly Primo) searchbox that can be embedded on library's page. All feedback welcome.

prerequisites

  1. Must have node.js and npm installed. Run npm install to get all the dependencies.
  2. You should probably know some angular2 or want to learn some. That said, if you don't know any angular2 but you got primo-explore-devenv working, then you can probably get this going.

Command Line Tools

This project was generated with Angular CLI version 1.4.4.

Development server

Run ng serve for a dev 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|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.

Customizing it for your institution