Activation from command-line interface

Before you begin, make sure you have read the Magento documentation :

http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli.html

  1. Start the command interpreter (BASH shell).
  2. Change to your Magento installation directory
    cd <your Magento install dir>
  3. Enable the module :
    php bin/magento module:enable --clear-static-content Lyranetwork_Payzen
  4. Start the update of the database:
    php bin/magento setup:upgrade
  5. Generate and pre-compile classes :
    php bin/magento setup:di:compile
  6. Deploy static files :
    php bin/magento setup:static-content:deploy [locale]
    [locale] should be replaced by ISO-639 language codes for which to output static view files.
    Example: fr_FR for french, en_GB for english.
  7. Once the module is enabled, return to the administration panel to proceed to the configuration of the payment module.