Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial version for survos/bunny-bundle #1711

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml
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:
4 changes: 4 additions & 0 deletions survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml
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'
12 changes: 12 additions & 0 deletions survos/bunny-bundle/1.5/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"bundles": {
"Survos\\BunnyBundle\\SurvosBunnyBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"BUNNY_API_KEY": ""
}
}

tacman marked this conversation as resolved.
Show resolved Hide resolved
13 changes: 13 additions & 0 deletions survos/bunny-bundle/1.5/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<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.



Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we only need 1 whiteline?

Comment on lines +11 to +13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Loading