MAGENTO/lib/nosto/php-sdk/.env.example
to MAGENTO/lib/nosto/php-sdk/.env
and modify the parameters.NOSTO_SERVER_URL
is the Nosto url used in the store frontNOSTO_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.env.[environment]
files. This way you can switch the environment by replacing the .env with the correct .env.[environment] file.cd
into the root directory.nvm install 0.12
) before running api-mock . After that you can install the api-mock server via npm: