Coder Social home page Coder Social logo

layersony / pos Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 4.0 3.14 MB

This is a simple Point of Sales System

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

Python 8.71% HTML 17.11% CSS 2.72% Less 21.99% SCSS 22.27% JavaScript 27.20%
pos django python javascript javascript-library heroku authenication

pos's Introduction

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

pos's People

Contributors

layersony avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.