mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
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:
@@ -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:
|
||||
4
survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml
Normal file
4
survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml
Normal 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'
|
||||
11
survos/bunny-bundle/1.5/manifest.json
Normal file
11
survos/bunny-bundle/1.5/manifest.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Survos\\BunnyBundle\\SurvosBunnyBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"BUNNY_API_KEY": ""
|
||||
}
|
||||
}
|
||||
10
survos/bunny-bundle/1.5/post-install.txt
Normal file
10
survos/bunny-bundle/1.5/post-install.txt
Normal 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.
|
||||
Reference in New Issue
Block a user