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

rasika27
rasika27 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 Posts: 8 πŸ§‘πŸ»β€πŸš€ - Cadet
    Answer βœ“

    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 Posts: 3 πŸ§‘πŸ»β€πŸš€ - Cadet

    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 Posts: 8 πŸ§‘πŸ»β€πŸš€ - Cadet
    Answer βœ“

    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 Posts: 3 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hi @Salmanali Agharia

    Thank you for the answer. It worked for me.