diff --git a/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml new file mode 100755 index 000000000..2165117a6 --- /dev/null +++ b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml @@ -0,0 +1,4 @@ +disjfa_mozaic: + unsplash: + application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%' + secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%' diff --git a/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml new file mode 100755 index 000000000..c837b1e35 --- /dev/null +++ b/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml @@ -0,0 +1,3 @@ +disjfa_mozaic: + resource: '@DisjfaMozaicBundle/Controller/' + type: annotation diff --git a/disjfa/mozaic-bundle/0.1/manifest.json b/disjfa/mozaic-bundle/0.1/manifest.json new file mode 100755 index 000000000..e60a9ca51 --- /dev/null +++ b/disjfa/mozaic-bundle/0.1/manifest.json @@ -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": "" + } +} diff --git a/disjfa/mozaic-bundle/0.1/post-install.txt b/disjfa/mozaic-bundle/0.1/post-install.txt new file mode 100755 index 000000000..52d0d3ab4 --- /dev/null +++ b/disjfa/mozaic-bundle/0.1/post-install.txt @@ -0,0 +1,9 @@ + + Mozaic bundle configuration + + + * 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