Skip to content

Commit 980f9be

Browse files
tacmanfabpotdiimpp
authored
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 <[email protected]> * Update survos/bunny-bundle/1.5/manifest.json Co-authored-by: Dmitri Perunov <[email protected]> * Update survos/bunny-bundle/1.5/post-install.txt Co-authored-by: Dmitri Perunov <[email protected]> --------- Co-authored-by: Fabien Potencier <[email protected]> Co-authored-by: Dmitri Perunov <[email protected]>
1 parent 6a0aa55 commit 980f9be

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
survos_bunny:
2+
# this is generated automatically with bin/console bunny:config <api-key>
3+
api_key: '%env(BUNNY_API_KEY)%'
4+
# optionally set a default storage zone
5+
#storage_zone:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
survos_bunny:
2+
resource: '@SurvosBunnyBundle/config/routes.yaml'
3+
# consider adding /admin to this route and securing it in security.yaml
4+
prefix: '/bunny'

survos/bunny-bundle/1.5/manifest.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"bundles": {
3+
"Survos\\BunnyBundle\\SurvosBunnyBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"env": {
9+
"BUNNY_API_KEY": ""
10+
}
11+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<bg=green;fg=white> </>
2+
<bg=green;fg=white> success </>
3+
<bg=green;fg=white> </>
4+
5+
* <fg=yellow>Next steps:</>
6+
1. Get the main API key from https://dash.bunny.net/account/api-key
7+
2. Optionally add the key to your environment. Otherwise, run the command below with the API key as the argument.
8+
3. bin/console bunny:config <api-key> >> .env.local
9+
4. run bin/console bunny:list to see the zones
10+
5. Only add the API keys you need to the production environment.

0 commit comments

Comments
 (0)