A Point of Sale (POS) system run in a browser. It handles a barcodescanner to sell stuffs.
The project is in active use but should be considerd an unstable alpha.
- Sell things with a barcode scanner
- Type the name of a product to not need the scanner
- Track deliveries
- Track stock
- Contains a (very) limited book keeping system
- php >= 5.3
- php-gd (for bar code generation and statistics display)
- php-curl (used by login service which might want to be replaced)
- php-mysql
- MySQL
- gnu-barcode (deb package barcode)
The project requires a webserver, it has been developed and tested with apache webserver but try a different one and it might work.
This project has only been tested to work with firefox and chromium but other browsers should not be a problem.
- Place the content of the project in a folder
- Create an empty mysql database for the project. If the database name is not "nitroxy_retail" grant.sql needs to be updated accordingly.
- Create a db user. If the name of the user is not "nitroxy_retail", grant.sql needs to be updated accordingly.
- Copy db_settings/nitroxy_retail.php to db_settings/nitroxy_retail.local.php and edit the settings to your configuration.
- Run (in order)
- source nitroxy_retail.sql
- source data.sql
- source grant.sql
- Compile genbarcode for your architecture (can be ignored if you don't want barcodes for your products)
- make -C lib/src/genbarcode-0.4
- mkdir lib/bin
- mv lib/src/genbarcode-0.4/genbarcode lib/bin
- Point your webserver to the public directory
- Unless you are from the society Proxxi you want to do something about what is done in contrellers/Session.php in the authenticate part so as to not authenticate against Proxxis system...
- Log in to the system
- Navigate to Lager > Kategorier
- Use the form to add categories to the system (Candy, Soda, etc)
- Next go to Lager > Ny leverans and create a delivery (Se seperate delivery instructions)