diff --git a/bin/sandbox b/bin/sandbox index 9ffcd80c508..c238925b74b 100755 --- a/bin/sandbox +++ b/bin/sandbox @@ -96,7 +96,7 @@ unbundled bin/rails db:drop db:create echo "~~~> Running the solidus:install generator" export SOLIDUS_ADMIN_LOOKBOOK=true -unbundled bin/rails generate solidus:install --auto-accept $@ +unbundled bin/rails generate solidus:install --admin-preview --auto-accept $@ echo " 🚀 This app is intended for test purposes. If you're interested in running diff --git a/core/lib/generators/solidus/install/install_generator.rb b/core/lib/generators/solidus/install/install_generator.rb index dc6b05a75d4..9d3e5694cb4 100644 --- a/core/lib/generators/solidus/install/install_generator.rb +++ b/core/lib/generators/solidus/install/install_generator.rb @@ -34,7 +34,7 @@ class InstallGenerator < Rails::Generators::AppBase class_option :seed, type: :boolean, default: true, banner: 'Load seed data (migrations must be run)' class_option :sample, type: :boolean, default: true, banner: 'Load sample data (migrations and seeds must be run)' class_option :active_storage, type: :boolean, default: true, banner: 'Install ActiveStorage as image attachments handler for products and taxons' - class_option :admin_preview, type: :boolean, default: true, desc: 'Install the admin preview' + class_option :admin_preview, type: :boolean, default: false, desc: 'Install the admin preview' class_option :auto_accept, type: :boolean class_option :user_class, type: :string class_option :admin_email, type: :string