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
Clean up installer messages during installation
Damian Legawiecf0c42a8cb84b
diff --git a/install.sh b/install.shindex 7b1b06dcd4..118387aa03 100755--- a/install.sh+++ b/install.sh@@ -767,11 +767,11 @@ create_rails_app() {# Change message based on elapsed timeif [ $elapsed -lt 30 ]; then- msg="Installing Rails and dependencies"+ msg="Installing Spree dependencies"elif [ $elapsed -lt 60 ]; then- msg="Installing Spree gems (this takes a while)"+ msg="Installing Spree gems"elif [ $elapsed -lt 90 ]; then- msg="Setting up Devise authentication"+ msg="Setting up authentication"elif [ $elapsed -lt 120 ]; thenmsg="Running Spree generators"elif [ $elapsed -lt 150 ]; then@@ -782,7 +782,7 @@ create_rails_app() {msg="Almost done, finalizing installation"fi- printf "\r${BLUE}${spin:$i:1}${NC} ${msg}... (${elapsed}s)"+ printf "\r${BLUE}${spin:$i:1}${NC} ${msg}... "sleep 1elapsed=$((elapsed + 1))donediff --git a/template.rb b/template.rbindex 33e3478358..69fff49d03 100644--- a/template.rb+++ b/template.rb@@ -49,8 +49,8 @@ def setup_importmapendend-def setup_devise- say 'Setting up Devise authentication...', :blue+def setup_auth+ say 'Setting up authentication...', :blueif VERBOSErails_command 'generate devise:install'@@ -150,7 +150,7 @@ add_gemsafter_bundle dosetup_importmapconfigure_development_environment- setup_devise+ setup_authinstall_spreesetup_procfilesetup_database