Skip to main content

Installation

Prerequisites

If it's your first time installing Takyon Commerce modules on this server, please execute the commands listed in this section.

Run the following command to add the repository:

composer config repositories.takyoncommerce composer https://composer.takyoncommerce.com

Visit your account page to get Composer access keys.

Replace PUBLIC_KEY and PRIVATE_KEY in the following command with the keys listed on the page and run the command:

composer config http-basic.composer.takyoncommerce.com PUBLIC_KEY PRIVATE_KEY

Install the modules

Run this command to add a dependency:

composer require takyoncommerce/reward-points

Enable the modules:

bin/magento module:enable Takyon_Core Takyon_RewardPoints Takyon_RewardPointsAdminUi Takyon_RewardPointsApi Takyon_RewardPointsCheckout Takyon_RewardPointsFrontendUi Takyon_RewardPointsNotifications Takyon_RewardPointsNotificationsAdminUi Takyon_RewardPointsNotificationsApi Takyon_RewardPointsQuote Takyon_RewardPointsQuoteApi Takyon_RewardPointsRedeemingRules Takyon_RewardPointsRedeemingRulesAdminUi Takyon_RewardPointsRedeemingRulesApi Takyon_RewardPointsSales Takyon_RewardPointsSalesAdminUi Takyon_RewardPointsSalesFrontendUi Takyon_RewardPointsSalesNotifications Takyon_RewardPointsSalesNotificationsAdminUi Takyon_RewardPointsTax Takyon_RewardPointsTaxAdminUi

Run this command to upgrade the database and deploy static content:

bin/magento setup:upgrade && bin/magento setup:static-content:deploy -f