-
-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
6a0aa55
commit 980f9be
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"bundles": { | ||
"Survos\\BunnyBundle\\SurvosBunnyBundle": ["all"] | ||
}, | ||
"copy-from-recipe": { | ||
"config/": "%CONFIG_DIR%/" | ||
}, | ||
"env": { | ||
"BUNNY_API_KEY": "" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |