Skip to content

Commit b4c627f

Browse files
committed
feat(jolimedia): Add Flex recipe for JoliMediaSylius brige
1 parent e6eea6d commit b4c627f

4 files changed

Lines changed: 57 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Uncomment the following lines to enable the Sylius bridge configuration
2+
#imports:
3+
# - { resource: '@JoliMediaSyliusBundle/config/app.php' }
4+
5+
# See the documentation for all available configuration options
6+
joli_media:
7+
# Configure a media library below. See the documentation for all available options
8+
# at https://mediabundle.jolicode.com/getting-started/configuration/#configuration
9+
10+
# libraries:
11+
# default:
12+
# original:
13+
# flysystem: "filesystem.original.storage"
14+
# url_generator:
15+
# strategy: folder
16+
# path: /media/original/
17+
# cache:
18+
# flysystem: "filesystem.cache.storage"
19+
# must_store_when_generating_url: false
20+
# url_generator:
21+
# strategy: folder
22+
# path: /media/cache/
23+
24+
pre_processors:
25+
- JoliCode\MediaBundle\PreProcessor\ExifRemovalPreProcessor
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
_joli_media:
2+
resource: "@JoliMediaBundle/config/routes.php"
3+
4+
# Uncomment the following lines to enable the EasyAdmin bridge routes
5+
# _joli_media_easy_admin:
6+
# resource: "@JoliMediaEasyAdminBundle/src/Controller/"
7+
# prefix: /admin/media
8+
9+
# Uncomment the following lines to enable the Sonata Admin bridge routes
10+
# _joli_media_sonata_admin:
11+
# resource: "@JoliMediaSonataAdminBundle/src/Controller/"
12+
# prefix: /admin/media
13+
14+
# Uncomment the following lines to enable the Sylius bridge routes
15+
#_joli_media_sylius_admin:
16+
# resource: "@JoliMediaSyliusBundle/src/Admin/Controller/"
17+
# prefix: /admin/media
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"JoliCode\\MediaBundle\\JoliMediaBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* JoliMediaBundle has been successfully installed! Complete the configuration:
2+
1. <fg=blue>Configure</> your media library storage in <comment>%CONFIG_DIR%/packages/joli_media.yaml</>
3+
2. <fg=blue>Read</> the documentation options at <comment>https://mediabundle.jolicode.com/getting-started/configuration/</>
4+
5+
* Learn how to install the required processors at <comment>https://mediabundle.jolicode.com/getting-started/dependencies-and-tooling/</>
6+
7+
* To enable an admin bridge, follow the instructions at <comment>https://mediabundle.jolicode.com/bridges/</>

0 commit comments

Comments
 (0)