Skip to content

Instantly share code, notes, and snippets.

@rowild
Created February 27, 2023 07:52
Show Gist options
  • Save rowild/26022080f2467b66bf0d0bb6d1d3483a to your computer and use it in GitHub Desktop.
Save rowild/26022080f2467b66bf0d0bb6d1d3483a to your computer and use it in GitHub Desktop.
Picore setup with ddev
# Sources:
# https://github.com/pimcore/demo
# https://www.fastlane-design.de/ddev-pimcore-install/
# https://stackoverflow.com/questions/58763897/is-there-a-working-pimcore-nginx-config-for-ddev
mkdir pimcore-project
cd ./pimcore-project
ddev config --project-type=php --php-version 8.1 --doc-root=web --create-docroot
# Go to .ddev/config.yaml and change nginx to apache server
ddev composer create pimcore/demo
# To install pimcore enter ddev's ssh first:
ddev ssh
# Then run:
$ export PIMCORE_INSTALL_MYSQL_HOST_SOCKET=db:3306;
$ vendor/bin/pimcore-install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment