uomlibraryapps-card-scanner-hybrid-remote
v1.2.11
Published
Library Node.js app for UoM card scanning (hybrid-remote)
Downloads
4
Readme
Welcome to uomlibraryapps-card-scanner-hybrid-remote 👋
Library Node.js app for UoM card scanning (hybrid-remote)
Install
npm install uomlibraryapps-card-scanner-hybrid-remote
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-remote/config, although this can be used as a template)
Crutially, the location of the Angular UI files needs to be set here.
{
"ui": {
"variation": "student"
},
"express": {
"port": 8100
},
"angular": {
"sourcePath": "./node_modules/uomlibraryapps-card-scanner-hybrid-remote/angular"
},
"media": {
"path": "/media/pi"
},
"database": {
"dataPath": "./data"
}
}
Then the application can be started from the current directory:
node node_module/uomlibraryapps-card-scanner-hybrid-remote/dist/cli.js
Author
👤 UoM Library DTS
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator