Install POS
The steps marked in bold are required
Turn on Maintenance
Code Block php bin/magento maintenance:enable
Require Magestore POS lite
Code Block composer require magestore/pos-lite
Turn on Developer mode
Code Block php bin/magento deploy:mode:set developer
Set indexer mode to real-time
Code Block php bin/magento indexer:set-mode realtime
Run Magento upgrade
...
to Install POS
...
Code Block php bin/magento setup:upgrade
Deploy POS client apps
Code Block php bin/magento webpos:deploy
Run code compilation
Code Block php bin/magento setup:di:compile
Adjust the Redis session configuration
...
Adjust manually
Open file
app/etc/env.php
in your favorite editorScroll down to the
session
section below
...
Edit the
...
value max_
...
concurrency to a suitable number. Magento recommends we set that number by 10% of the number of PHP processes. If you don’t know that then try in the range from 6 to 24 is fine. For example: 20.
...
Adjust by command
Code Block php bin/magento setup:config:set --session-save=redis --session-save-redis-max-concurrency=20
...
Set indexer mode back to the schedule
Code Block php bin/magento
...
indexer:set-mode schedule
Reindex
...
all
Code Block php bin/magento indexer:reindex
Turn on
...
production mode
Code Block php bin/magento deploy:mode:set production
Turn off
...
maintenance
Code Block php bin/magento maintenance:disable