Server for Bixolon Fiscal printers used in Panama. Pulls invoices from Zoho Books.
1.0K
Server for panamanian fiscal printers, written in NodeJS by Roberto E. Zubieta.
sudo npm install yarn -g To enable yarn.yarn install to download all dependenciesprivate.json with your ZOHO books credentials. Use
private.sample.json as example.npm run to start the serverbin/server.jsIncludes some minimal unit tests for double-checking the output strings. They
can be executed by running npm test
This server was designed to work directly inside a Docker container. No
git pull required.
./private.env with your Zoho Books credentials. Use
./private.env.sample as example.docker run -p 5000:5000 -v /srv/gatomalo/database:/srv/gatomalo/database \
--env-file=private.env --device=/dev/ttyUSB0 --restart=always \
-d zubietaroberto/gatomalo
Details about this command:
/srv/gatomalo/database on the host machine.
Otherwise the printed_invoice will be reset whenever the host image changes../Puerto.txtAn even easier deployment experience.
mkdir /srv/gatomalo2mkdir /srv/gatomalo2/databasecd /srv/gatomalo2/srv/gatomalo2/private.env with your Zoho Books credentials. Use
./private.env.sample as example../docker-compose.yml into /srv/gatomalo2/docker-compose up -dThe docker-compose will install all the dependencies, mount the folder as a
volume, create the SQLite database and automatically restart the container when
the machine restarts.
Content type
Image
Digest
Size
307.8 MB
Last updated
almost 9 years ago
docker pull zubietaroberto/gatomalo