Git Product home page Git Product logo

onyema3 / opensourcepos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensourcepos/opensourcepos

0.0 2.0 0.0 27.02 MB

Open Source Point of Sale is a web based point of sale system written in the PHP language. It uses MySQL as the data storage back-end and has a simple user interface.

License: MIT License

JavaScript 26.99% ApacheConf 0.03% PHP 72.45% HTML 0.16% CSS 0.37% Shell 0.01%

opensourcepos's Introduction

Introduction

Open Source Point of Sale is a web based point of sale system written in the PHP language. It uses MySQL as the data storage back-end and has a simple user interface.

This is the latest version 3.0.0 and it's based on Bootstrap 3 using Bootswatch theme Flatly as default, and CodeIgniter 3.0.6.

Badges

Build Status Join the chat at https://gitter.im/jekkos/opensourcepos devDependency Status Dependency Status GitHub version

Keep the Machine Running

If you like the project, and you are making money out of it on a daily basis, then consider buying me a coffee so I can keep adding features.

Donate

Server Requirements

PHP version 5.5 or newer is recommended but PHP 7.x is not fully supported yet.

Reporting Bugs

Since OSPOS 3.0.0 is a version under development, please make sure you always run the latest 2.4_to_3.0.sql database upgrade script. Please DO NOT post issues if you have not done that before running OSPOS 3.0. Please also make sure you have updated all the files from latest master.

Bug reports must follow this schema:

  1. OS name and version running your Web Server (e.g. Linux Ubuntu 15.0)
  2. Web Server name and version (e.g. Apache 2.4)
  3. Database name and version (e.g. MySQL 5.6)
  4. PHP version (e.g. PHP 5.5)
  5. Language selected in OSPOS (e.g. English, Spanish)
  6. Any configuration of OSPOS that you changed
  7. Exact steps to reproduce the issue (test case)

If above information is not provided in full, your issue will be tagged as pending. If missing information is not provided within a week we will close your issue.

Cloud install

A quick option would be to install directly to Digitalocean using their preconfigured LAMP stack. Create a DO account first, add a droplet with preconfigured LAMP and follow the instructions for Local Install below. You will be running a provisioned VPS within minutes.

Cloud install using Docker

If you want to run a quick demo of ospos or run it permanently in the cloud, then we suggest using Docker cloud together with the DigitalOcean hosting platform. This way all the configuration is done automatically and the install will just work.

If you choose DigitalOcean through this link, you will get a $10 credit for a first month of uptime on the platform. A full setup will only take about 2 minutes by following steps below.

  1. Create a Digitalocean account
  2. Create a docker cloud account
  3. Login to docker cloud
  4. Associate your docker cloud account with your previously created digital ocean account under settings
  5. Create a new node on DigitalOcean through the Infrastructure > Nodes tab. Fill in a name (ospos) and choose a region near to you
  6. Click Deploy to Docker Cloud
  7. Othewise create a new stack under Applications > Stacks and paste the contents of docker-cloud.yml from the source repository in the text field and hit Create and deploy
  8. Find your website url under Infrastructure > Nodes > <yournode> > Endpoints > web
  9. Login with default username/password admin/pointofsale
  10. DNS name for this server can be easily configured in the DigitalOcean control panel

Local install

  1. Create/locate a new mysql database to install open source point of sale into
  2. Execute the file database/database.sql to create the tables needed
  3. unzip and upload Open Source Point of Sale files to web server
  4. Copy application/config/database.php.tmpl to application/config/database.php
  5. Modify application/config/database.php to connect to your database
  6. Modify application/config/config.php encryption key with your own
  7. Go to your point of sale install via the browser
  8. LOGIN using username: admin password:pointofsale
  9. Enjoy

Local install using Docker

From now on ospos can be deployed using Docker on Linux, Mac or Windows. This setup dramatically reduces the number of possible issues as all setup is now done in a Dockerfile. Docker runs natively on mac and linux, but will require more overhead on windows. Please refer to the docker documentation for instructions on how to set it up on your platform.

To build and run the image, issue following commands in a terminal with docker installed

docker-compose build
docker-compose up 

FAQ

If a blank page (HTTP status 500) shows after search completion or receipt generation, then double check php5-gd presence in your php installation. On windows check in php.ini whether the lib is installed. On Ubuntu issue sudo apt-get install php5-gd. Also have a look at the Dockerfile for a complete list of recommended packages.

ca

opensourcepos's People

Contributors

jekkos avatar dan4cat avatar flodef avatar cpl2015 avatar songwutk avatar marteserede avatar arteiro avatar ais-one avatar ramkrishnamondal avatar pappastech avatar sonnysk76 avatar padungsak avatar asakpke avatar gabrielperezs avatar onyema3 avatar jsivakumaran avatar yllumi avatar souparno avatar nalamapu avatar curthauta avatar kamaroly avatar gitter-badger avatar nano-riff avatar

Watchers

James Cloos avatar  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.