layersony / POS

This is a simple Point of Sales System

Home Page:https://pos254.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POS = Point of sales

The web application is simple Point of sales and inventory management system web-app.

Features:

Configuration:

  • Inventory Categories
  • Inventory Sub Category
  • Inventory Tag

Inventory Information:

  • Inventory name
  • Inventory short description
  • Inventory full description
  • Inventory category selection
  • Inventory picture
  • Inventory current stock
  • Inventory purchase price
  • Inventory sales price
  • Inventory promotional price

POS:

  • Product Sales
  • List of sale record
  • Invoice

Test User Creds:

Username = test
Password = 1q2w3e4r5t6y.

Setup & dependencies

  • Python 3.8.5 and above
  • Django 3.1.2 and above
  • Postgres 12.5 and above

The following steps will walk you thru installation on a Mac. Linux should be similar. It's also possible to develop on a Windows machine, but I have not documented the steps. If you've developed django apps on Windows, you should have little problem getting up and running.

Create Database

Create the database by running the following commands in a psql shell. If you're using Postgres.app, click the Postgres.app icon in your toolbar and select "Open psql".

or

Open Terminal. then type psql

create database "inventory";

Setup Django Server (Mac)

We're using python3 instead of python2.x. If you don't have python3 installed, install Homebrew, then…

brew install python3.8

or

sudo apt install python3

Assuming you've cloned the repository, open Terminal and cd ~/your/path/to/inventory.

Create a python virtual environment:

python -m  venv envpos --python=python3.8

Activate it:

source envpos/bin/activate

Install the python dependencies which includes django and other libraries.

pip3 install -r requirements.txt

Run server locally

python3 manage.py migrate
python3 manage.py runserver
If PSQL error raise please follow the command:

pip install psycopg2-binary

About

This is a simple Point of Sales System

https://pos254.herokuapp.com/


Languages

Language:JavaScript 27.2%Language:SCSS 22.3%Language:Less 22.0%Language:HTML 17.1%Language:Python 8.7%Language:CSS 2.7%