Page History

Versions Compared

Key

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

...

  1. Download the latest Magento 2 GConnector here: 

    Include Page
    Gigya Downloads Link Template
    Gigya Downloads Link Template
  2. Extract the contents of the .zip file to a local folder outside your Magento installation. 

  3. Initialize the folder as a git repository by running the following from the command line:

    Code Block
    git init
  4. Add the extracted files to Git using the following command:

    Code Block
    git add *
  5. Commit the changes to Git using the following command:

    Code Block
    git commit -am "Initial Commit"
    You will need to perform steps 1-5 for the Gigya PHP CMS Kit also, you can download the CMS Kit from here:
    Include PageGigya Downloads Link TemplateGigya Downloads Link Template
  6. Once both the Magento GConnector and the CMS Kit are is hosted locally, Log in via SSH (if necessary) and navigate to the Magento installation root.
  7. Add the Gigya repositories by typing the following commands (replace "/folderPathTo" with the actual folder path of the extracted zip file from steps 2-6): 

    Code Block
    composer config repositories.gigya-im git /folderPathToMagentoIMLocalRepo
    composer config repositories.gigya-php git /folderPathToPHP_cms_kit_LocalRepo
    Note

    These modifications will write to Magento's root composer.json file.

  8. Add the Gigya module and its dependencies and update: 

    Code Block
    linenumbersfalse
    composer require gigya/magento2-im
    composer update

    Show If
    groupgigya

    Include Page
    Template Internal Notice Box 3 Do Not Share Basic
    Template Internal Notice Box 3 Do Not Share Basic

    If a particular release is required, it must be created from a full clone of the Gigya Git repo and installed specifically, this will not work with a GConnector Branch download, and is not Best Practice or Officially supported. This should only be done for internal Gigya testing environments.

    Run a command according to the following format, where 5.0.2 is the version number of the release: 

    Code Block
    linenumbersfalse
    composer require gigya/magento2-im:5.0.2

    Include Page
    Template Internal Notice Box 5 Footer End Of Internal Content
    Template Internal Notice Box 5 Footer End Of Internal Content

    Note
    If you experience problems with this step, make sure your root composer.json file supports non-stable versions. For example, you may need to remove the line prefer-stable:true and set minimum-stablility to beta.
  9. Still connected to the server using SSH, enable the module by running: 

    Code Block
    bin/magento module:enable Gigya_GigyaIM
  10. Perform a Magento upgrade using the following command:

    Code Block
    linenumbersfalse
     php bin/magento setup:upgrade
    Note

    Don't forget to clear the Magento cache after this process as well as after carrying out any other change.

...

Code Block
php vendor/gigya/cmsmagento2-starter-kit/im/Helper/CmsStarterKit/cli/encryption.php -e "(your_user_secret_key)" `cat var/enc.key`

Save the resulting string in the database by running the following SQL query :

...