uomlibraryapps-card-scanner-hybrid-local
v1.2.11
Published
Library Node.js app for UoM card scanning (hybrid-local)
Downloads
3
Readme
Welcome to uomlibraryapps-card-scanner-hybrid-local 👋
Library Node.js app for UoM card scanning (hybrid-local)
Install
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.
{
"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:
node node_module/uomlibraryapps-card-scanner-hybrid-local/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