uomlibraryapps-card-scanner-hybrid-local
Version:
Library Node.js app for UoM card scanning (hybrid-local)
58 lines (41 loc) ⢠1.48 kB
Markdown

[](#)
> Library Node.js app for UoM card scanning (hybrid-local)
## Install
```sh
npm install uomlibraryapps-card-scanner-hybrid-local
```
The app will be installed into the node_modules folder of the current path. A local configuration file is needed before it can be run to set relative paths, see "Usage"
## Usage
A local configuration file must be created before running, in the folder "./config" called "uomlibraryapps-card-scanner.json" (NOT the node_modules/uomlibraryapps-card-scanner-hybrid-local/config, although this can be used as a template)
Crutially, the location of the Angular UI files needs to be set here.
```sh
{
"ui": {
"variation": "student"
},
"express": {
"port": 8100
},
"angular": {
"sourcePath": "./node_modules/uomlibraryapps-card-scanner-hybrid-local/angular"
},
"media": {
"path": "/media/pi"
},
"database": {
"dataPath": "./data"
}
}
```
Then the application can be started from the current directory:
```sh
node node_module/uomlibraryapps-card-scanner-hybrid-local/dist/cli.js
```
š¤ **UoM Library DTS**
Give a āļø if this project helped you!
***
_This README was generated with ā¤ļø by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_