kingjia90/flexskeleton
Warning
EXPERIMENTAL: NOT TO BE USED, PART OF FEASIBILITY CHECK TO USE SYMFONY FLEX
Pimcore Symfony Flex Skeleton
-
Clone this repository
-
Open folder
-
Create a bash terminal from that folder eg.
sudo docker run -it -u `id -u`:`id -g` --rm -v `pwd`:/var/www/html pimcore/pimcore:php8.3-latest bash -
Run
composer install -
It would ask about adding new config and docker, reply
yto both
-
Docker: Fix
compose.yamluser and user group id -
Start the needed services with
docker compose up -d -
Install pimcore and initialize the DB
docker compose exec php vendor/bin/pimcore-install
Test public repository
composer require pimcore/web-to-print-bundle and it would ask to run the recipe, press y and would copy the controller, template, var/config and add the entry in bundles.php
Test private repositories
composer require pimcore/portal-engine and it would ask to run the recipe, press y and would copy the controller, template and config
Notes
- It would be possible to avoid docker compose yaml changes by pressing
nbut the.dockerfolder is copied regardless, it would be nice to be able to avoid it, in case somebody don't need docker. - The
.envfile seems necessary to be able to append the env variables from the recipes, when the.envfile is not present, it would skip