Custom dumps for packages

Discussion in 'Subrion CMS Packages Discussions' started by Vasily B., Oct 17, 2013.

  1. Vasily_B.

    Vasily_B. Project Manager

    Greetings,

    I'm not sure if you knew this or not - you can redistribute custom data dumps with the packages. By default some of our packages include some sample data to start with. Specifically directory script comes with the common categories dump. Coupons package also includes categories, publishing script has two dumps to choose from.

    If you are working on a custom package and want to include some sample optional data you can do this in this way:

    1. Create a new folder dumps/ in includes/ folder of your package.
    2. Put your dump file there with the .sql extension
    3. That's it. This dump will be available on System / Database / Import

    We have plans to extend this functionality and inform about sample data once the package installation is completed. Anyhow, we will add this a bit later. Now we are focused on the stability of our software.

    Thanks!

Share This Page