pimcore/demo
Composer 安装命令:
composer create-project pimcore/demo
包简介
Demo Application for Pimcore 6
README 文档
README
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.
Getting started
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
- Point your virtual host to
my-project/public - [Only for Apache] Create
my-project/public/.htaccessaccording to https://pimcore.com/docs/platform/Pimcore/Installation_and_Upgrade/System_Setup_and_Hosting/Apache_Configuration/ - Open https://your-host/admin in your browser
- Done! 😎
Docker
You can also use Docker to setup a new Pimcore Installation. You don't need to have a PHP environment with composer installed.
Prerequisits
- Your user must be allowed to run docker commands (directly or via sudo).
- You must have docker-compose installed.
- Your user must be allowed to change file permissions (directly or via sudo).
Follow these steps
- Initialize the demo project using the
pimcore/pimcoreimagedocker 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 - Go to your new project
cd my-project/ - Part of the new project is a docker compose file
- Run
echo `id -u`:`id -g`to retrieve your local user and group id - Open the
docker-compose.yamlfile in an editor, uncomment all theuser: '1000:1000'lines and update the ids if necessary - Start the needed services with
docker compose up -d - Install the assets by running the script
docker compose exec php bin/console assets:install --symlink --relative
- Run
- Install pimcore and initialize the DB
docker compose exec php vendor/bin/pimcore-install --mysql-host-socket=db --mysql-username=pimcore --mysql-password=pimcore --mysql-database=pimcore- When asked for admin user and password: Choose freely
- This can take a while, up to 20 minutes
- Clear and warm up the cache with
docker compose exec php bin/console cache:clear - ✔️ DONE - You can now visit your pimcore-demo:
- The frontend: http://localhost
- The admin interface, using the credentials you have chosen above: http://localhost/admin
Pimcore Platform Version
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.
Other demo/skeleton packages
pimcore/demo 适用场景与选型建议
pimcore/demo 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 92.03k 次下载、GitHub Stars 达 110, 最近一次更新时间为 2019 年 09 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 pimcore/demo 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pimcore/demo 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 92.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 111
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2019-09-26