Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Step-by-step guide

Installing the extension into your Magento environment has never been easier. Simply follow the steps below when performing a new installation or performing an upgrade.

Installing for the first time

You will need to add our repository

composer config repositories.powersync composer https://dist.powersync.biz

Installing or Upgrading

STEP 1

Enable maintenance mode

bin/magento maintenance:enable

STEP 2

The following composer command should be used for Magento 2.4.x

composer require tnw/subscriptions=2.3.90   
 If you use Magento 2.3.x


composer require tnw/subscriptions=2.2.87   


Important

If you are performing the installation for the first time, you will be prompted for the username and password. These credentials will be provided to you when you submit your order with us. If you lost your credentials, please contact us via our service desk.

STEP 3

Upgrade Magento via command line.

bin/magento setup:upgrade

Compile the new code

bin/magento setup:di:compile

Rebuild Magento Indexes

bin/magento indexer:reindex

Deploy static content

rm -rf pub/static/frontend/ pub/static/deployed_version.txt  pub/static/adminhtml/
bin/magento setup:static-content:deploy -f

Clear cache

bin/magento cache:clean

Disable maintenance mode

bin/magento maintenance:disable

If you are using Nginx and/or varnish, a restart is required after the installation and most likely after the upgrade

sudo service nginx restart && sudo service varnish restart



STEP 3

Configure new CRON jobs. See Setting up CRON jobs.

Uninstalling

The example below will remove our module from your Magento installation

composer remove tnw/subscriptions


Filter by label

There are no items with the selected labels at this time.




  • No labels