PRESTASHOP/modules/nostotagging/libs/nosto/php-sdk/.env.example
to PRESTASHOP/modules/nostotagging/libs/nosto/php-sdk/.env
and modify the parameters.NOSTO_SERVER_URL
is the Nosto url used in the store front NOSTO_API_BASE_URL
is the base url for all API calls to NostoNOSTO_OAUTH_BASE_URL
is the base url for connecting Nosto accounts through OAuthNOSTO_WEB_HOOK_BASE_URL
is the base url for Nosto web hooksNOSTO_IFRAME_ORIGIN_REGEXP
is a regexp for validating window.postMessage() event origin dispatched by the account configuration iframe (not in use in this module).env.[environment]
files. This way you can switch the environment by replacing the .env with the correct .env.[environment] file.ruleset.xml
. You must define the ruleset.xml
as the standard when running phpcs. In case you don't have phpcs installed, you can get it from here: https://github.com/squizlabs/PHP_CodeSniffer​upgrade/upgrade-x.x.x.php
where x.x.x corresponds to the new version numberPrestaShop/nostotagging
repository, which this repository is a fork of. Always create the pull-request from Nosto:master => PrestaShop:master. PrestaShop will then review the release and publish it within a day or two. Remember to give a good explanation of the things that have changed in the pull-request comment field. It will help PrestaShop when reviewing.composer install
in the root directory. The only parameters you must give to phing command are the version of the plug-in and the path to global composer (where PHP Code sniffer can be found). Please note that you must have PHP Code Sniffer and PHP Mess Detector installed and available for Phing.$root_dir/build/package