mehmetc / 41SLSP_NETWORK

3 stars 3 forks source link

41SLSP_NETWORK

This is the CUSTOM_VIEW package for RZS

Getting started:

Setting up the environment

Directory structure

dist                                            Directory with compiled sources
package                                         Directory with the packaged compiled sources
src                                             Source code
├── components                                  Directory with all the components                 
│   └── libInfo                                 Component
│       ├── index.js                            Business logic of component
│       ├── libInfo.html                        Visuals of component
│       └── libInfo.json                        Extra data
├── factories                                   Angular factories and services
│   ├── messageService.html
│   └── messageService.js
├── index.js                                    ViewCustom definition
├── loader.js                                   Component loader
├── primo                                       Bridge into Primo services like user, records, facets ...
└── templates                                   Template files used to overwrite existing primo templates

Changing the server address

In package.json you can find the proxy parameters.

  "primo": {
    "url": "https://slsp-rzs.primo.exlibrisgroup.com",
    "institution": "41SLSP_RZS",
    "vidId": "VU15"
  },

If you update them then next time you run yarn start it will point to a new configured Primo.