From 1681ccbdc84299822b4a49bb29abfe90053b14ee Mon Sep 17 00:00:00 2001 From: Dennis Iversen Date: Thu, 4 Apr 2024 11:19:54 +0200 Subject: [PATCH] note about generating new data.json file --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6653c10..977cbfe 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ This is a simple PWA barcode scanner. It does not need internet to work. For installing and updating you will need internet connection. -The app will load the data from `data.json`. When scanning it will look up results found in the data.json file. +The app will load the data from `data.json`. When scanning it will look up results found in the data.json file. In order to update `data.json` from different sources you may run `node concatenate.js` which will generate a new `data.json` file from all sources found in `data/`. -If a result is found it will display the result - otherwise it will display the value of the scanned barcode. +If a result is found it the app will display the result - otherwise it will display the value of the scanned barcode. # Install