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.
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:
- spree_social: Social Authentication
- spreepaypalexpress: Use PayPal Express as payment method
- spree_fancy: A custom theme for your store
- spree_i18n: Translations
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: email@example.com
- Password: spree123
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: imagemagick, install, gem, Rails, Spree, Store
This work is licensed under a
Creative Commons Attribution-