Sunday, July 28, 2024

Command to do Automated unit testing in laravel

 php artisan test

Steps to run auto backup to AWS S3 in laravel docker environment


1- Use spatie/laravel-backup package to implement project folder back-up to the  server

2- Manually run the backup , by running its cronjob

                 php artisan backup:run

3- Check your AWS account to view backups 

4- Download to your device and back-up to hard disk

Setting up budget friendly POS

Prerequisites

1)Purchase necessary Hardware Barcode Printer, Invoice Printer, Scanner

2) laptop/ System needs to have 3 USB ports

3) 3 power cables will be there, so better to have an extension cable

4) POS s/w hosted in Digital Ocean Server, so as to be available anywhere

5) Barcode label role (50 x 25 cm)

6) Invoice printer sheet roll

-------------------------------------------------------------------------------------------------------------------------

1)Preferred Invoice printer - EPSON-TM-T20III-Series

a) Download the driver, from the link below, choose the correct Windows version 

https://epson.com/Support/Point-of-Sale/Thermal-Printers/Epson-TM-T20III-Series/s/SPT_C31CH51001?review-filter=Windows+10+64-bit

b)During installation don't forget to choose USB Port

-------------------------------------------------------------------------------------------------------------------------

2)Preferred Barcode printer -Honeywell pc42d (300 dpi)

a) first download and Install download manager from the below link

https://hsmftp.honeywell.com:443/en/Software/Printers/Printer-Software-and-Drivers/Label-Design-Applications/Current/BarTender_UL_2022

b) Then download and install bartender lite software

https://sps-support.honeywell.com/s/article/How-to-download-BarTender-Ultralite-for-Intermec-legacy-printers

c) To print the barcode on label, 

   -- Add product to the POS software, download barcode,

   -- open the barcode designer software, 

           File--> new-->predefined stock (40336)

 select next on other items and print the barcode

-




-----------------------------------------------------------------------------------------------------------

3) Connect with zebra or honeywell scanner

------------------------------------------------------------------------------------------------------------------------