Running from edge sources (latest and greatest features)
1.Clone the git repo
git clone git://github.com/railsdog/spree.git spree
cd spree
2.Create the necessary config/database.yml file
rake db:create
D:\InstantRails\rails_apps\spree>rake db:create
(in D:/InstantRails/rails_apps/spree)
Spree requires RubyGems >= 1.3.6 (you have 1.3.5). Please `gem update --system`
and try again.
D:\InstantRails\rails_apps\spree>gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.6
Updating RubyGems to 1.3.6
Installing RubyGems 1.3.6
RubyGems 1.3.6 installed
3.Install the gem dependencies
(sudo) rake gems:install
D:\InstantRails\rails_apps\spree>rake gems:install
(in D:/InstantRails/rails_apps/spree)
gem.bat install highline --version "= 1.5.1"
......
4.Bootstrap the database (run the migrations, create admin account, optionally load sample data.)
rake db:bootstrap
== AddApiKeyToUsers: migrating ===============================================
-- add_column("users", "api_key", :string, {:limit=>40})
-> 0.0000s
== AddApiKeyToUsers: migrated (0.0160s) ======================================
remigrate
loading fixture D:/InstantRails/rails_apps/spree/db/default/countries.yml
loading fixture D:/InstantRails/rails_apps/spree/db/default/roles.yml
loading fixture D:/InstantRails/rails_apps/spree/db/default/states.yml
loading fixture D:/InstantRails/rails_apps/spree/db/default/zone_members.yml
loading fixture D:/InstantRails/rails_apps/spree/db/default/zones.yml
Default data has been loaded
Loading db/seeds.rb for each extension
Load Sample Data? [y/n]: y
loading fixture D:/InstantRails/rails_apps/spree/db/sample/addresses.yml
loading fixture D:/InstantRails/rails_apps/spree/db/sample/adjustments.yml
......
Processing order 99
loading ruby D:/InstantRails/rails_apps/spree/db/sample/products.rb
loading ruby D:/InstantRails/rails_apps/spree/db/sample/taxons.rb
loading ruby D:/InstantRails/rails_apps/spree/db/sample/users.rb
Create the admin user (press enter for defaults).
Email [spree@example.com]: corey.erp@gmail.com
Password [spree]:
Sample data has been loaded
Bootstrap Complete.
5.Start the server
script/server