Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix sandbox script to also include spree_sample gem and load samples
Damian Legawiec0ca9614ee3ba
diff --git a/bin/sandbox.sh b/bin/sandbox.shindex be6a7c1661..5a3e201b2c 100755--- a/bin/sandbox.sh+++ b/bin/sandbox.sh@@ -71,6 +71,7 @@ gem 'spree', path: '..'gem 'spree_frontend', path: '../frontend'gem 'spree_backend', path: '../backend'gem 'spree_emails', path: '../emails'+gem 'spree_sample', path: '../sample/'$SPREE_AUTH_DEVISE_GEM$SPREE_GATEWAY_GEMgem 'spree_i18n', github: 'spree-contrib/spree_i18n', branch: 'master'@@ -102,7 +103,7 @@ RUBYbundle install --gemfile Gemfilebundle exec rails db:drop || truebundle exec rails db:create-bundle exec rails g spree:install --auto-accept --user_class=Spree::User+bundle exec rails g spree:install --auto-accept --user_class=Spree::User --sample=trueif [ "$SPREE_HEADLESS" == "" ]; thenbundle exec rails g spree:frontend:installbundle exec rails g spree:backend:install