Web-based point of sale system.


Keywords
python, pos, point-of-sale
License
MIT
Install
pip install openwebpos==0.0.5a7

Documentation

Python application CodeQL Dependency Review

OpenWebPOS

OpenWebPOS is a web-based point of sale system written in python using the Flask framework.

Installation

Step 1 - Setting Up Python3

Update System

$ sudo apt update
$ sudo apt -y upgrade

Check Python Version (3.8)

$ python3 -V

Install pip

$ sudo apt install -y python3-pip

Development tools.

$ sudo apt install build-essential libssl-dev libffi-dev python-dev

Sep 2 - Setting up Virtual environment using venv

$ sudo apt install -y python3-venv

create a project directory. change dirname to your projectname

$ mkdir dirname
$ cd  dirname

create virtual environment

$ python3 -m venv venv

Step 3 - Activate Virtual Environment

$ source /vnev/bin/activate

Step 4 - Install

$ pip install openwebpos

Usage

Create a app.py file

from openwebpos import open_web_pos
from dotenv import load_dotenv

load_dotenv('.env')  # take environment variables from .env file.

application = open_web_pos()

if __name__ == "__main__":
    application.run()

Run the app

$ python3 app.py

Developing

To install openwebpos, along with the tools you need to develop and run tests, run the following in your virtualenv:

$ pip install -e .[dev]