spryker-shop/suite
Composer 安装命令:
composer require spryker-shop/suite
包简介
Spryker B2C Demo Shop
README 文档
README
Description
Spryker B2C Demo Shop is a collection of Spryker B2C-specific features. It suits most projects as a starting point of development and can be used to explore Spryker.
B2C Demo Shop quick start
This section describes how to get started with the B2C Demo Shop quickly.
For detailed installation instructions, see Install Spryker.
Prerequisites
For full installation prerequisites, see one of the following:
- Install Docker prerequisites on MacOS
- Install Docker prerequisites on Linux
- Install Docker prerequisites on Windows
Recommended system requirements for MacOS:
| Macbook type | vCPU | RAM |
|---|---|---|
| 15' | 4 | 6GB |
| 13' | 2 | 4GB |
Install the B2C Demo Shop
- Create a project folder and clone the B2C Demo Shop and the Docker SDK:
mkdir spryker-b2c && cd spryker-b2c git clone https://github.com/spryker-shop/b2c-demo-shop.git ./ git clone git@github.com:spryker/docker-sdk.git docker
- Set up a desired environment:
Set up a development environment
- Bootstrap the docker setup:
docker/sdk boot deploy.dev.yml
-
If the command you've run in the previous step returned instructions, follow them.
-
Build and start the instance:
docker/sdk up
- Switch to your branch, re-build the application with assets and demo data from the new branch:
git checkout {your_branch}
docker/sdk boot -s deploy.dev.yml
docker/sdk up --build --assets --data
Depending on your requirements, you can select any combination of the following
upcommand attributes. To fetch all the changes from the branch you switch to, we recommend running the command with all of them:
--build- update composer, generate transfer objects, etc.--assets- build assets--data- get new demo data
You've set up your Spryker B2C Demo Shop and can access your applications.
Set up a production-like environment
- Bootstrap the docker setup:
docker/sdk boot -s
-
If the command you've run in the previous step returned instructions, follow them.
-
Build and start the instance:
docker/sdk up
- Switch to your branch in one of the following ways:
- Switch to your brunch, re-build the application with assets and demo data from the new branch:
git checkout {your_branch}
docker/sdk boot -s
docker/sdk up --assets --data
- Light git checkout:
git checkout {your_branch}
docker/sdk boot -s
docker/sdk up
Depending on your requirements, you can select any combination of the following
upcommand attributes. To fetch all the changes from the branch you switch to, we recommend running the command with all of them:
--build- update composer, generate transfer objects, etc.--assets- build assets--data- get new demo data
- Reload all the data:
docker/sdk clean-data && docker/sdk up && docker/sdk console q:w:s -v -s
You've set up your Spryker B2C Demo Shop and can access your applications.
Troubleshooting installation of the B2C Demo Shop
This section describes the most common issues related to the installation of the B2C Demo Shop.
For a complete troubleshooting, see Troubleshooting Spryker installation issues.
when
You get unexpected application behavior or errors.
then
- Check the state of the directory:
git status
-
If there are untracked files (returned in red), and they are not necessary, remove them.
-
Restart file synchronization and rebuild the codebase:
docker/sdk trouble docker/sdk boot -s deploy.dev.yml docker/sdk up --build --assets
when You do not see the expected demo data on the Storefront.
then
-
Open the queue broker and wait until all the queues are empty.
-
If the queues are empty, and the issue persists, reload the demo data:
docker/sdk trouble docker/sdk boot -s deploy.dev.yml docker/sdk up --build --assets --data
Contributing to the repository
For contribution guidelines, see Code contribution guide.
spryker-shop/suite 适用场景与选型建议
spryker-shop/suite 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 52, 最近一次更新时间为 2018 年 05 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 spryker-shop/suite 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 spryker-shop/suite 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 52
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-05-25