-
-
Save supairish/5278657 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0. rails new my_store && cd my_store | |
1. to Gemfile | |
remove gem 'rais', gem 'jquery-rails' | |
and add folowing rows: | |
------------------------------------------------------------------------------------------------------- | |
gem 'liquid', :git => 'git://github.com/Shopify/liquid.git' | |
gem 'spree', :git => "git://github.com/spree/spree.git", :branch => "1-3-stable" | |
gem 'spree_i18n', :git => 'git://github.com/spree/spree_i18n.git' | |
gem 'refinerycms', :git => "git://github.com/refinery/refinerycms.git"#, :branch => "2-0-stable" | |
gem 'refinerycms-i18n', :git => "git://github.com/refinery/refinerycms-i18n.git"#, :branch => "2-0-stable" | |
gem 'refinerycms-settings', :git => "git://github.com/refinery/refinerycms-settings.git"#, :branch => "2-0-stable" | |
gem 'refinerycms-blog', :git => "git://github.com/refinery/refinerycms-blog.git"#, :branch => "2-0-stable" | |
gem 'refinerycms-news', :git => "git://github.com/refinery/refinerycms-news.git"#, :branch => "2-0-stable" | |
gem 'refinerycms-inquiries', :git => "git://github.com/refinery/refinerycms-inquiries.git"#, :branch => "2-0-stable" | |
gem 'shop_on_rails', :git => 'git://github.com/shoponrails/shop_on_rails.git' | |
gem 'clot_engine', :git => 'git://github.com/shoponrails/clots.git' | |
gem 'spreefinery_core', :git => 'git://github.com/shoponrails/spreefinery_core.git' | |
gem 'spreefinery_themes', :git => 'git://github.com/shoponrails/spreefinery_themes.git' | |
------------------------------------------------------------------------------------------------------- | |
2. bundle install | |
3. bundle exec rake shop_on_rails:setup | |
4. replace config/routes.rb with: | |
root :to => "refinery/pages#home" | |
mount Spree::Core::Engine, :at => '/' | |
mount Refinery::Core::Engine, :at => '/' | |
5. comment line << Spree.user_class = "Spree::LegacyUser" >> in config/initializers/spree.rb | |
6. rails s | |
7. go to http://localhost:3000/refinery and use: | |
login: admin | |
password: password | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment