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
Fixed isntalling Spree on WSL (#13274)
Damian Legawiece986ac2a349d
diff --git a/install.sh b/install.shindex 7a07b0b967..7b1b06dcd4 100755--- a/install.sh+++ b/install.sh@@ -173,6 +173,20 @@ detect_os() {get_app_name() {print_step "Setting up your Spree application..."+ # Check if we're in WSL and in a Windows mount point+ if [ "$OS" = "linux" ] && [[ $(pwd) == /mnt/* ]]; then+ print_warning "You are currently in a Windows directory ($(pwd))"+ print_warning "Rails requires Unix file permissions which Windows filesystems don't support."+ echo+ print_info "Changing to your Linux home directory: $HOME"+ cd "$HOME" || {+ print_error "Failed to change to home directory"+ exit 1+ }+ print_success "Now in: $(pwd)"+ echo+ fi+# Use default app name if auto-accept is enabled and no app name providedif [ "$AUTO_ACCEPT" = true ] && [[ -z "$APP_NAME" ]]; thenAPP_NAME="spree"