1.2.11 ā€¢ Published 4 years ago

uomlibraryapps-card-scanner-hybrid-remote v1.2.11

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Welcome to uomlibraryapps-card-scanner-hybrid-remote šŸ‘‹

Version License: ISC

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