DEV Community

Andy Leverenz
Andy Leverenz

Posted on • Originally published at web-crunch.com on

How to Install the Spree E-Commerce Framework using Ruby on Rails

The Spree commerce framework is an open-source fully-featured e-commerce solution that integrates directly with the Ruby on Rails framework using three main gems.

In this short tutorial, I walk you through how to get the gem and its dependencies installed. We tour the framework showing off both the front-end and back-end admin-only UI. We also take a brief look at the source code responsible for the e-commerce framework.

Prerequisites

This framework (gem) depends on a fresh install of Rails 5.2.3. Rails 6 support I’m sure is on the horizon but I wasn’t able to install it successfully.

Using Spree you can extend it with additional gems found here.

https://github.com/spree/spree#extensions

Installing on your own? Reference the developer docs for more information:

https://github.com/spree/spree or https://guides.spreecommerce.org/

If you’re interested in me exploring more of this framework or a popular counter-part called Solidus let me know!

The post How to Install the Spree E-Commerce Framework using Ruby on Rails appeared first on Web-Crunch.

Latest comments (1)

Collapse
 
izan_corp profile image
izan • Edited

hey i got this error, can u solve??
error ::
Running via Spring preloader in process 24592
The file /home/shiroe/rails-dev/shop/vendor/assets/javascripts/spree/frontend/all.js does not appear to exist