How To Create Your Own Store In Minutes With Rails & Spree


BIP media spree VPS cloud server.

Spree is a 100% open source e-commerce platform. In this tutorial you will learn how to install and  creating your own store front in minutes.

About Spree

Spree is a gem, but the latest version, 2.0, is not yet compatible with Rails 4. One of the best things about 2.0 is its new API, with which you can create a mobile version of your store.

There are also a ton of useful apps you can use, such as:

Let's get started

First you need to install imagemagick:

brew install imagemagick #for mac/hombrew users

And you will need a 3.x Rails version

gem install rails -v 3.2.13

Now, install the latest version (currently 2.0)

gem install spree

You will create a common Rails app using the Rails version we just installed:

rails _3.2.13_ new awesome_store

Then we need to add the gem and some configuration to the project. In this step, Spree will ask for default settings. I will use -A to auto-accept all the options because I will use the sample products data for the example, but you could check the options one by one if you wanted to.

cd awesome_store/ & spree install -A

Now you can run your app and your store is ready!


By default the Admin credentials are:

  • Email:
  • Password: spree123
You can navigate to localhost:3000/admin and see the store backend (products, orders, users, etc.)


I hope this tutorial was helpful, If you have any questions or need help simply post them in the form below and I will be more then happy to get back to you.

Tags: , , , , ,

Spin Up A VPS Server In No Time Flat

Simple Setup

Full Root Access

Straightforward Pricing


Leave a Reply