Adapted from Pimcore Skeleton
- Clone this repo
- Run Docker Compose
- docker-compose up -d
- Connect to the PHP-FPM container
- docker exec -it php-fpm bash
- Install vendor files
- composer install
- Install Pimcore
- vendor/bin/pimcore-install --mysql-username=pimcore --mysql-password=pimcore --mysql-database=pimcore --mysql-host-socket=db
- Rebuild Pimcore classes
- bin/console pimcore:deployment:classes-rebuild -c -d
- Change file owner
- chown -R www-data:www-data .
- Optional: Run container setup scripts
- ./scripts/container_setup.sh
- Change nginx localhsot port if desired
- Disable utility containers if desired
- php-fpm-debug
- adminer
- Change container & volume names if desired
- Do not commmit docker-compose.yml changes
- Clear Docker cache & force rebuild
- docker builder prune
- docker-compose up --force-recreate --build -d
- bin/console pimcore:deployment:classes-rebuild -c -d
- bin/console cache:clear --env=dev
- bin/console pimcore:cache:clear
- All code should adhere to the PSR-12 standard
- Do not commit changes to docker-compose.yml
- Do not commit vendor/ directory