无需DEMO数据安装Sylius

问题描述 投票:0回答:3

在没有任何演示产品的情况下如何安装Sylius? 在遵循官方文档的默认安装过程中,我没有注意到任何不安装演示数据的选项。

symfony e-commerce sylius
3个回答
0
投票

您可以按照以下步骤操作

http://docs.sylius.org/en/latest/cookbook/installation-commands.html

并排除有关加载示例数据的步骤。


0
投票

我一直在寻找同样的东西。这是最新版本的链接:

https://docs.sylius.com/en/latest/cookbook/configuration/installation-commands.html

排除此步骤:加载样本数据


0
投票

不幸的是,今天(2024 年),样本数据会自动加载

bin/console sylius:install:database

我的解决方法是强制使用不存在的固定套件:

bin/console sylius:install:database --fixture-suite=nope

然后我需要完成安装

bin/console sylius:install:setup
© www.soinside.com 2019 - 2024. All rights reserved.