initial version for survos/bunny-bundle (#1711)

* initial version for survos/bunny-bundle

* fix namespace

* fix yaml spacing

* add the api_key

* Update survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml

Co-authored-by: Fabien Potencier <fabien@potencier.org>

* Update survos/bunny-bundle/1.5/manifest.json

Co-authored-by: Dmitri Perunov <diimpp@gmail.com>

* Update survos/bunny-bundle/1.5/post-install.txt

Co-authored-by: Dmitri Perunov <diimpp@gmail.com>

---------

Co-authored-by: Fabien Potencier <fabien@potencier.org>
Co-authored-by: Dmitri Perunov <diimpp@gmail.com>
This commit is contained in:
Tac Tacelosky
2025-01-29 02:53:22 -05:00
committed by GitHub
parent 6a0aa557f7
commit 980f9be485
4 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
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:

View File

@@ -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'

View File

@@ -0,0 +1,11 @@
{
"bundles": {
"Survos\\BunnyBundle\\SurvosBunnyBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"BUNNY_API_KEY": ""
}
}

View File

@@ -0,0 +1,10 @@
<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.