Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

seiyria/posys

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Posys Build Status

A Point of Sale system for the modern age.

Installation

If installing on windows, you may need --msvs_version=<your_vs_version> to install the printer module correctly. It's really finnicky.

  • clone the repository
  • install postgresql
  • npm install -g ionic
  • npm install
  • create src/server/server.config.json (sample below)
  • npm run migrate:latest (set up the database)
  • npm run seed:run (get some sample data in the db to work with)
  • npm start:server (in one terminal)
  • npm start (in another terminal)

Sample server.config.json

{
  "server": {
    "port": 8080
  },
  "db": {
    "hostname": "localhost",
    "username": "postgres",
    "password": "postgres",
    "database": "posys"
  }
}

Further setup is done at runtime.

Building For Electron

You should just be able to run npm run build:osx:dev or npm run build:win:dev. There is a task for dist/asar but there are currently some issues with it.

Screenshots

See a gallery on imgur.

Hardware Recommendations

  • A barcode scanner (this application makes heavy use of an "omni search" input which allows for text entry even when not focused, to facilitate quick lookup of items - a barcode scanner is used in testing and makes the interface significantly easier to use)
  • A receipt printer (STAR or Epson-compatible)