Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.04 KB

VoriPOS Transaction Sync

Transactional data (e.g., orders, refunds) is data created on the POS and pushed to Vori for ingestion. We use Litestream to replicate the local SQLite database to Google Cloud Storage. Data is pushed every second.

Litestream requires access to the file system, specifically the directory where the VoriPOS app stores its transactional database, so must be run directly on the POS machine. This database currently resides at the location below:

~/Library/Application Support/VoriPOS/Transaction.sqlite3

Given this directory/data belongs to another application, Litestream should be granted access to data from other apps.

Installation

This service is distributed via Homebrew.

brew tap voriteam/voripos
brew install voripos-txn-sync
brew services start voripos-txn-sync

Distribution

The POS machines run a service installed via Homebrew. Create a release on GitHub, and follow the instructions at https://github.com/voriteam/homebrew-voripos to update the tap with the latest version.