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
Add git submodules of all Spree gems to make it easier to develop it … (#12027)
Damian Legawiecbafc766fd2af
diff --git a/.gitmodules b/.gitmodulesnew file mode 100644index 0000000000..897b6d4185--- /dev/null+++ b/.gitmodules@@ -0,0 +1,12 @@+[submodule "backend"]+ path = backend+ url = https://github.com/spree/spree_backend+[submodule "frontend"]+ path = frontend+ url = https://github.com/spree/spree_rails_frontend+[submodule "auth_devise"]+ path = auth_devise+ url = https://github.com/spree/spree_auth_devise+[submodule "gateway"]+ path = gateway+ url = https://github.com/spree/spree_gatewaydiff --git a/auth_devise b/auth_devisenew file mode 160000index 0000000000..f5af568f2e--- /dev/null+++ b/auth_devise@@ -0,0 +1 @@+Subproject commit f5af568f2edaf65daaefef2888ca770170fdee09diff --git a/backend b/backendnew file mode 160000index 0000000000..c0003210c2--- /dev/null+++ b/backend@@ -0,0 +1 @@+Subproject commit c0003210c20d9960fe2c00ef1f1a5b6da6ae2fbcdiff --git a/bin/sandbox.sh b/bin/sandbox.shindex 9feb93135c..94a828f791 100755--- a/bin/sandbox.sh+++ b/bin/sandbox.sh@@ -34,38 +34,16 @@ ficd ./sandbox-if [ "$SPREE_AUTH_DEVISE_PATH" != "" ]; then- SPREE_AUTH_DEVISE_GEM="gem 'spree_auth_devise', path: '$SPREE_AUTH_DEVISE_PATH'"-else- SPREE_AUTH_DEVISE_GEM="gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: 'main'"-fi--if [ "$SPREE_GATEWAY_PATH" != "" ]; then- SPREE_GATEWAY_GEM="gem 'spree_gateway', path: '$SPREE_GATEWAY_PATH'"-else- SPREE_GATEWAY_GEM="gem 'spree_gateway', github: 'spree/spree_gateway', branch: 'main'"-fi--if [ "$SPREE_DASHBOARD_PATH" != "" ]; then- SPREE_BACKEND_GEM="gem 'spree_backend', path: '$SPREE_DASHBOARD_PATH'"-else- SPREE_BACKEND_GEM="gem 'spree_backend', github: 'spree/spree_backend', branch: 'main'"-fi--if [ "$SPREE_STOREFRONT_PATH" != "" ]; then- SPREE_STOREFRONT_PATH="gem 'spree_frontend', path: '$SPREE_STOREFRONT_PATH'"-else- SPREE_STOREFRONT_PATH="gem 'spree_frontend', github: 'spree/spree_rails_frontend', branch: 'main'"-fi+git submodule update --init --recursivecat <<RUBY >> Gemfilegem 'spree', path: '..'gem 'spree_emails', path: '../emails'gem 'spree_sample', path: '../sample'-$SPREE_BACKEND_GEM-$SPREE_GATEWAY_GEM-$SPREE_STOREFRONT_PATH-$SPREE_AUTH_DEVISE_GEM+gem 'spree_backend', path: '../backend'+gem 'spree_frontend', path: '../frontend'+gem 'spree_auth_devise', path: '../auth_devise'+gem 'spree_gateway', path: '../gateway'gem 'spree_i18n', github: 'spree-contrib/spree_i18n', branch: 'main'group :test, :development dodiff --git a/docs/developer/contributing/developing-spree.mdx b/docs/developer/contributing/developing-spree.mdxindex 3db8fc8565..89564fa393 100644--- a/docs/developer/contributing/developing-spree.mdx+++ b/docs/developer/contributing/developing-spree.mdx@@ -64,19 +64,6 @@ By default, Sandbox uses the **SQLite** database. But you can switch to **PostgrDB=postgres bin/sandbox.sh```-When developing [Spree Admin Dashboard](https://github.com/spree/spree\_backend) you can also pass `SPREE_DASHBOARD_PATH`--```bash-SPREE_DASHBOARD_PATH=../../spree_backend bin/sandbox.sh-```--Start the server--```bash-cd sandbox-bin/rails s-```-### Performance in development modeYou may notice that your Spree store runs slower in development environment. This is caused by disabled caching and automatic reloading of code after each change.diff --git a/frontend b/frontendnew file mode 160000index 0000000000..6f6a77e66d--- /dev/null+++ b/frontend@@ -0,0 +1 @@+Subproject commit 6f6a77e66d1d51fa568e02cce968fd307ffed21adiff --git a/gateway b/gatewaynew file mode 160000index 0000000000..f2ef7ae0b0--- /dev/null+++ b/gateway@@ -0,0 +1 @@+Subproject commit f2ef7ae0b0fb69ed566524ba5bcd844f0eec13c7