Websocket backend server for Next Gen POS
site = http://pos.jawait.net
user = admin
pass = admin
ComposerMemcacheZero MQ- Httpd server (nginx, apache atau lainnya)
- MariaDB atau MySql
- PHP 5.4 +
Propel ORM[Optional]
POS - Next Generation Point Of Sale Application
- Clone or fork POS-ws-server to your computer
- Use
composer updatecommand in POS-ws-server root directory to tell composer to gather required dependencies for you
Go to POS-ws-server root directory and use the following command
$ php bin/server.phpClick here to view database scheme
-
By default, POS will try to connect websocket at
ws://pos.localhost:8080, so that means you have to set your POS development address tohttp://pos.localhostand make sureport 8080is open. Edit these two file if you want to change default setting-
Frontend:
POS/app/fn/Util.jsonline 19Ext.ws.Main = POS.fn.WebSocket.create('ws://pos.localhost:8080/POS/Mains');
-
Backend:
POS-ws-server/bin/server.phponline 20$app = new App('pos.localhost', 8080);
Important to note that the address and port on each file above must be identical or the connection will fail!
-
-
Default MySql database configuration:
- host: "localhost"
- database: "pos"
- user: "root"
- password: "sqlpass"
Edit these two file if you want to change default setting
- Frontend:
POS/remote/propel-config.php - Backend:
POS-ws-server/propel-config.php