Activate the virtualenv (see virtualenv docs for how to activate on your shell).

From the source directory, run pip install ./barsystem

Run barsystem-installer init

For testing, run barsystem with django-admin runserver --settings barsystem.local_settings

For production, a standard nginx + uwsgi stack is recommended.

Barlink

Barlink processes login tokens and product barcodes and sends these to barsystem.

It uses websockets to communicate with barsystem via the local webbrowser.
It sends data received from a serial port on to the browser, which parses and processes the data.
It works on the index page for login keys, and on the product page for barcodes.