mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
56 lines
2.3 KiB
JSON
56 lines
2.3 KiB
JSON
{
|
|
"manifests": {
|
|
"survos/bunny-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Survos\\BunnyBundle\\SurvosBunnyBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"env": {
|
|
"BUNNY_API_KEY": ""
|
|
},
|
|
"post-install-output": [
|
|
"<bg=green;fg=white> </>",
|
|
"<bg=green;fg=white> success </>",
|
|
"<bg=green;fg=white> </>",
|
|
"",
|
|
" * <fg=yellow>Next steps:</>",
|
|
" 1. Get the main API key from https://dash.bunny.net/account/api-key",
|
|
" 2. Optionally add the key to your environment. Otherwise, run the command below with the API key as the argument.",
|
|
" 3. bin/console bunny:config <api-key> >> .env.local",
|
|
" 4. run bin/console bunny:list to see the zones",
|
|
" 5. Only add the API keys you need to the production environment."
|
|
]
|
|
},
|
|
"files": {
|
|
"config/packages/survos_bunny.yaml": {
|
|
"contents": [
|
|
"survos_bunny:",
|
|
" # this is generated automatically with bin/console bunny:config <api-key>",
|
|
" api_key: '%env(BUNNY_API_KEY)%'",
|
|
" # optionally set a default storage zone",
|
|
" #storage_zone:",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/survos_bunny.yaml": {
|
|
"contents": [
|
|
"survos_bunny:",
|
|
" resource: '@SurvosBunnyBundle/config/routes.yaml'",
|
|
" # consider adding /admin to this route and securing it in security.yaml",
|
|
" prefix: '/bunny'",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "38d6e9c843b0244587cadc511aa1437d2c175ca1"
|
|
}
|
|
}
|
|
}
|