Calling Developers!
We are reenergizing our code contribution process! Learn More

I have used command docker/sdk console cache:empty-all to clean up the Sample Spryker B2B shop Data

Options
rasika27
rasika27 Consultant Posts: 3 🧑🏻‍🚀 - Cadet
edited June 5 in Spryker Development

Hello All,

I have used command docker/sdk console cache:empty-all to clean up the Sample Spryker B2B shop Data. The data is cleared from the storefront. However, still it is present in the Spryker Backoffice. How can I get rid of it ?

Best Answer

  • Salmanali Agharia
    Salmanali Agharia Software Engineer Posts: 7 🧑🏻‍🚀 - Cadet
    Answer ✓
    Options

    Hi @rasika27 ,

    If you don't want demo data then you can follow below steps :-

    1) Open config/install/docker.yml and comment out import-demodata and update-product-labels steps as shown in below image













    2) Execute docker/sdk clean-data
    3) Execute docker/sdk up

    I hope this solution will work for you.

    Thanks

Answers

  • rasika27
    rasika27 Consultant Posts: 3 🧑🏻‍🚀 - Cadet
    Options

    I have used docker/sdk clean-data command to get rid of sample data. Still whenever I am running the docker/sdk up it is restoring the shop data again.

  • Salmanali Agharia
    Salmanali Agharia Software Engineer Posts: 7 🧑🏻‍🚀 - Cadet
    Answer ✓
    Options

    Hi @rasika27 ,

    If you don't want demo data then you can follow below steps :-

    1) Open config/install/docker.yml and comment out import-demodata and update-product-labels steps as shown in below image













    2) Execute docker/sdk clean-data
    3) Execute docker/sdk up

    I hope this solution will work for you.

    Thanks

  • rasika27
    rasika27 Consultant Posts: 3 🧑🏻‍🚀 - Cadet
    Options

    Hi @Salmanali Agharia

    Thank you for the answer. It worked for me.