Skip to content

Commit

Permalink
Merge pull request symfony#315
Browse files Browse the repository at this point in the history
  • Loading branch information
symfony-flex-server[bot] authored May 13, 2018
2 parents 9d77b57 + 7e54b35 commit 4c9ad8e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
disjfa_mozaic:
unsplash:
application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%'
secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%'
3 changes: 3 additions & 0 deletions disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
disjfa_mozaic:
resource: '@DisjfaMozaicBundle/Controller/'
type: annotation
15 changes: 15 additions & 0 deletions disjfa/mozaic-bundle/0.1/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"bundles": {
"Disjfa\\MozaicBundle\\DisjfaMozaicBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "You can request a api key on the developer page of unsplash here: https://unsplash.com/developers",
"UNSPLASH_APPLICATION_ID": "",
"UNSPLASH_APPLICATION_SECRET": ""
}
}
9 changes: 9 additions & 0 deletions disjfa/mozaic-bundle/0.1/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Mozaic bundle configuration </>
<bg=blue;fg=white> </>

* Modify the UNSPLASH_APPLICATION_ID and UNSPLASH_APPLICATION_SECRET config in .env

* Don't forget to add the vue component in you javascript

* You can check the instructions on the github repo: https://github.com/disjfa/mozaic-bundle

0 comments on commit 4c9ad8e

Please sign in to comment.