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. Upload to your Magento2 root directory and extract

    • For .tar.gz package use the below command

      Code Block
      tar -xf pos-lite-v1.0.2.zip -C ./
    • For .zip package use the below command

      Code Block
      unzip pos-lite-v1.0.2.zip -d ./
  3. Copy the POS code to

    Code Block
    cp -R Magestore/ app/code/Magestore
  4. Turn on Developer mode

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

    Code Block
    php bin/magento indexer:set-mode realtime
  6. Run Magento upgrade to Install POS

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

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

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

    • Adjust manually

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

      • Scroll 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
  10. Set indexer mode back to schedule

    Code Block
    php bin/magento indexer:set-mode schedule
  11. Reindex all

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

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

    Code Block
    php bin/magento maintenance:disable

...