diff --git a/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml new file mode 100644 index 00000000..2ab4f54f --- /dev/null +++ b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml @@ -0,0 +1,5 @@ +survos_bunny: + # this is generated automatically with bin/console bunny:config + api_key: '%env(BUNNY_API_KEY)%' + # optionally set a default storage zone + #storage_zone: diff --git a/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml b/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml new file mode 100644 index 00000000..20e419e8 --- /dev/null +++ b/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml @@ -0,0 +1,4 @@ +survos_bunny: + resource: '@SurvosBunnyBundle/config/routes.yaml' + # consider adding /admin to this route and securing it in security.yaml + prefix: '/bunny' diff --git a/survos/bunny-bundle/1.5/manifest.json b/survos/bunny-bundle/1.5/manifest.json new file mode 100644 index 00000000..8fb1df5c --- /dev/null +++ b/survos/bunny-bundle/1.5/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Survos\\BunnyBundle\\SurvosBunnyBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "BUNNY_API_KEY": "" + } +} diff --git a/survos/bunny-bundle/1.5/post-install.txt b/survos/bunny-bundle/1.5/post-install.txt new file mode 100644 index 00000000..fdaf0c35 --- /dev/null +++ b/survos/bunny-bundle/1.5/post-install.txt @@ -0,0 +1,10 @@ + + success + + + * 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 >> .env.local + 4. run bin/console bunny:list to see the zones + 5. Only add the API keys you need to the production environment.