GitHunt

Warning

EXPERIMENTAL: NOT TO BE USED, PART OF FEASIBILITY CHECK TO USE SYMFONY FLEX

Pimcore Symfony Flex Skeleton

  1. Clone this repository

  2. Open folder

  3. 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

  4. Run composer install

  5. It would ask about adding new config and docker, reply y to both
    image

  6. Docker: Fix compose.yaml user and user group id

  7. Start the needed services with docker compose up -d

  8. 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 n but the .docker folder is copied regardless, it would be nice to be able to avoid it, in case somebody don't need docker.
  • The .env file seems necessary to be able to append the env variables from the recipes, when the .env file is not present, it would skip

Contributors

GNU General Public License v3.0
Created August 2, 2024
Updated August 2, 2024
kingjia90/flexskeleton | GitHunt