Screencast: Spree – Einstieg in Ecommerce mit Rails

Spree ist eine open-source e-Commerce-Lösung auf Basis von Rails und wurde von Sean Schofield entwickelt. Inzwischen wird es von einer Community gepflegt ist aktuell die meistgenutzte Shop-Lösung im Rails-Umfeld. Ryan bietet diese Woche einen Einstieg in das Framework.

 

Downloads in verschiedenen Formaten:

mp4
m4v
webm
ogg

 

Resourcen:

bash

brew install imagemagick
rails new store
bundle
rails g spree:site
rake db:bootstrap

Gemfile

gem 'spree', '0.70.1'
gem 'spree_blue_theme', :git => 'git://github.com/spree/spree_blue_theme.git'

config/initializers/spree_config.rb

Spree::Config.set(logo: "store/rails.png")

overrides/logo.rb

Deface::Override.new(:virtual_path => "layouts/spree_application",
                     :name => "logo",
                     :replace_contents => "#logo",
                     :text => "Store")

app/assets/stylesheets/store/all.css

/*
 *= require store/screen
 * ...
*/

app/assets/stylesheets/store/layout.css.scss

#logo {
  font-size: 32px;
  color: #FFF;
}

Eingestellt am 15.11.2011 um 10:51

Kategorie: Tutorials

Be Sociable, Share!

Kommentare für diesen Artikel wurden geschlossen.

Suchen auf rubyonrails.de

Aktuelle Rails Version + Abhängigkeiten:

Gem rails-3.0.0
actionmailer (= 3.0.0, runtime)
actionpack (= 3.0.0, runtime)
activerecord (= 3.0.0, runtime)
activeresource (= 3.0.0, runtime)
activesupport (= 3.0.0, runtime)
bundler (~> 1.0.0, runtime)
railties (= 3.0.0, runtime)

Rails auf Rubyforge
Rails auf Github