· 1 min read

Screencast: Spree - Einstieg in Ecommerce mit Rails

Downloads in verschiedenen Formaten:

mp4 m4v webm ogg

Resourcen:

bash

[bash] brew install imagemagick rails new store bundle rails g spree:site rake db:bootstrap [/bash]

Gemfile

[ruby] gem ‘spree’, ‘0.70.1’ gem ‘spree_blue_theme’, :git => ‘git://github.com/spree/spree_blue_theme.git’ [/ruby]

config/initializers/spree_config.rb

[ruby] Spree::Config.set(logo: “store/rails.png”) [/ruby]

overrides/logo.rb

[ruby] Deface::Override.new(:virtual_path => “layouts/spree_application”, :name => “logo”, :replace_contents => “#logo”, :text => “Store”) [/ruby]

app/assets/stylesheets/store/all.css

[css] /* *= require store/screen * … */ [/css]

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

[css] #logo { font-size: 32px; color: #FFF; } [/css]

Back to Blog