This demo package is intended to be used by Pimcore newcomers who want to learn Pimcore and see it in action. It's tailored get an overview of Pimcores CMS, DAM, PIM and E-Commerce functionality and can be used as a blue print for E-Commerce Applications built with Pimcore. If you are an experienced Pimcore developer, have a look at the Skeleton linked below instead.
COMPOSER_MEMORY_LIMIT=-1 composer create-project --no-scripts pimcore/demo my-project
cd ./my-project
./bin/console assets:install --symlink --relative
./vendor/bin/pimcore-install
./bin/console cache:clear
my-project/public
my-project/public/.htaccess
according to https://pimcore.com/docs/platform/Pimcore/Installation_and_Upgrade/System_Setup_and_Hosting/Apache_Configuration/ You can also use Docker to setup a new Pimcore Installation. You don't need to have a PHP environment with composer installed.
pimcore/pimcore
image
docker run -u `id -u`:`id -g` --rm -v `pwd`:/var/www/html pimcore/pimcore:php8.3-latest composer create-project --no-scripts pimcore/demo my-project
cd my-project/
echo `id -u`:`id -g`
to retrieve your local user and group iddocker-compose.yaml
file in an editor, uncomment all the user: '1000:1000'
lines and update the ids if necessarydocker compose up -d
docker compose exec php bin/console assets:install --symlink --relative
docker compose exec php vendor/bin/pimcore-install --mysql-host-socket=db --mysql-username=pimcore --mysql-password=pimcore --mysql-database=pimcore
docker compose exec php bin/console cache:clear
By default, Pimcore Platform Version is added as a dependency which ensures installation of compatible and in combination with each other tested versions of additional Pimcore modules. More information about the Platform Version can be found in the Platform Version docs.
It might be necessary to update a specific Pimcore module to a version that is not included in the Platform Version.
In that case, you need to remove the platform-version
dependency from your composer.json
and update the module to
the desired version.
Be aware that this might lead to a theoretically compatible but untested combination of Pimcore modules.