How to install OSPOS (Open Source Point of Sales)
1. Download the ospos
https://github.com/opensourcepos/opensourcepos/archive/master.zip
2. Download XAMPP
https://www.apachefriends.org/xampp-files/7.0.25/xampp-win32-7.0.25-0-VC14-installer.exe
3. Extract the master.zip into htdocs of XAMPP
Make a new folder named ospos4 under c:\xampp\htdocs, and extract the contents of master.zip into this folder
4. Create database ospos4 using phpmyadmin
Access http://localhost/phpmyadmin
5. Using the phpmyadmin import the database.sql from the c:\\xampp\htdocs\ospos4\database\
6. Configure the database.php under C:\xampp\htdocs\ospos4\application\config
'hostname' => !empty(getenv('MYSQL_HOST_NAME')) ? getenv('MYSQL_HOST_NAME') : 'localhost','username' => !empty(getenv('MYSQL_USERNAME')) ? getenv('MYSQL_USERNAME') : 'root','password' => !empty(getenv('MYSQL_PASSWORD')) ? getenv('MYSQL_PASSWORD') : '','database' => !empty(getenv('MYSQL_DB_NAME')) ? getenv('MYSQL_DB_NAME') : 'ospos4',
6. Open command prompt, navigate to c:\xampp\htdocs\ospos4\ and run these 3 commands:
composer install
npm install
npm install -g grunt-cli
grunt --force
7. Access the OSPOS http://localhost/ospos4/
8. Login using admin and password is pointofsale