Merge pull request #634

This commit is contained in:
symfony-flex-server[bot]
2019-06-29 08:37:44 +00:00
committed by GitHub
3 changed files with 39 additions and 0 deletions
@@ -0,0 +1,11 @@
commercetools:
api:
default_client: 'default'
clients:
default:
client_id: '%env(CTP_CLIENT_ID)%'
client_secret: '%env(CTP_CLIENT_SECRET)%'
project: '%env(CTP_PROJECT_KEY)%'
scope: '%env(CTP_SCOPES)%'
oauth_url: '%env(CTP_AUTH_URL)%'
api_url: '%env(CTP_API_URL)%'
@@ -0,0 +1,18 @@
{
"bundles": {
"Commercetools\\Symfony\\CtpBundle\\CtpBundle": ["all"],
"Commercetools\\Symfony\\SetupBundle\\SetupBundle": ["dev"],
"Commercetools\\Symfony\\StateBundle\\StateBundle": ["dev"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"CTP_CLIENT_ID": "<your-client-id>",
"CTP_CLIENT_SECRET": "<your-client-secret>",
"CTP_PROJECT_KEY": "<your-project-id>",
"CTP_AUTH_URL": "https://auth.commercetools.com or https://auth.commercetools.co",
"CTP_API_URL": "https://api.commercetools.com or https://api.commercetools.co",
"CTP_SCOPES": "<your-desired-scopes>"
}
}
@@ -0,0 +1,10 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next: commercetools API Configuration </>
<bg=blue;fg=white> </>
* Get your API client credentials from https://mc.commercetools.com or
https://mc.commercetools.co and configure them in your <bg=black;fg=green>.env</>
* commercetools-symfony-bundle documentation https://github.com/commercetools/commercetools-php-symfony
* commercetools API Documentation: https://docs.commercetools.com/http-api.html