Demo Data: Disabling Demo Data

How do I disable loading the demo data?

Starting with versions 1.4+, the default liquibase changelogs segment demo data from other required change sets using the "demo" liquibase context

You can configure the following properties for each of the following services:

AuthenticationServices

broadleaf.auth.data.load.default-users=false - setting this to false will only create a single default "master" admin user

broadleaf.auth.data.load.default-marketplace-users=false - setting this to false will disable creating demo vendor marketplace admin users

broadleaf.auth.data.load.register-demo-application-clients=false - default demo application clients (e.g. heatclinic, aaahotsauces, allthesauce) will not be added

Flex Packages

spring.liquibase.contexts=!demo - the liquibase changesets with the context:demo will not be loaded, the default value of "demo" loads all the demo data

NOTE: it is also possible to override this value for a specific service as well e.g broadleaf.catalog.liquibase.contexts=!demo

broadleaf.adminuser.data.load.default-users=false - setting this to false will only create a single default "master" admin user