Created
February 27, 2023 07:52
-
-
Save rowild/26022080f2467b66bf0d0bb6d1d3483a to your computer and use it in GitHub Desktop.
Picore setup with ddev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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