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 ./

...

  1. Copy the POS code to

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

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

    Code Block
    php bin/magento indexer:set-mode realtime
  4. 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 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