Skip to content

adaptcentre/sku-market--printing-station-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SKU Market Printing Station Server



Requirements

  • config.env file in the root directory

Config .env file

Make sure there is a config.env file in the root directory!

Config.env fields:

Field name Field value Comment
NODE_ENV development or production
PORT INTEGER
API_URL URL

So the config file should look somehting like this:

NODE_ENV=development
PORT=4030
API_URL=http://localhost:4000

Test Scripts

These are scripts to test if the printer is working. If commands are getting sent to the printer.

  • test-01.js converts an svg to png format
  • test-02.js converts an svg to jpeg format

JPEG produces higher quality prints

node scripts/test-01.js
node scripts/test-02.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published