Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Install POS

(info) The steps marked in bold are required

  1. Turn on Maintenance

    Code Block
    php bin/magento maintenance:enable
  2. Require Magestore POS lite

    Code Block
    composer require magestore/pos-lite
  1. Turn on Developer mode

    Code Block
    php bin/magento deploy:mode:set developer
  2. Set indexer mode to real-time

    Code Block
    php bin/magento indexer:set-mode realtime
  3. Run Magento upgrade

...

  1. to Install POS

...

  1. Code Block
    php bin/magento setup:upgrade
  2. Deploy POS client apps

    Code Block
    php bin/magento webpos:deploy
  3. Run code compilation

    Code Block
    php bin/magento setup:di:compile
  4. Adjust the Redis session configuration

    • Adjust manually

      • Open file app/etc/env.php in your favorite editor

      • Scroll down to the session section below

...

      • Image Added
      • 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

...

  1. Set indexer mode back to the schedule

    Code Block
    php bin/magento 

...

  1. indexer:set-mode schedule
  2. Reindex all

    Code Block
    php bin/magento indexer:reindex
  3. Turn on production mode

    Code Block
    php bin/magento deploy:mode:set production
  4. Turn off maintenance

    Code Block
    php bin/magento maintenance:disable