-
Notifications
You must be signed in to change notification settings - Fork 0
gakshay/ecommerce
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SUMMARY ------- Spree is a complete open source commerce solution for Ruby on Rails. It was originally developed by Sean Schofield and is now maintained by a dedicated [core team](http://spreecommerce.com/core-team). You can find out more about by visiting the [Spree e-commerce project page](http://spreecommerce.com). Dev Deployment ------------- Install your bundle bundle install Then use the install generator to do the basic setup (add Spree to Gemfile, etc.) rails g spree:site Now its time to install all of the necessary migrations, assets, etc. rake spree:install If you'd like to also install sample data and images you can follow up the above command with: rake spree_sample:install Now you just need to run the new migrations rake db:migrate rake db:seed If you also want some sample products, orders, etc. to play with you can run the appropriate rake task. rake db:sample Individual Modules Settings --------------------------- Product Reviews --------------- Next, run the rake task that copies the necessary migrations and assets to your project: rake spree_reviews:install And finish with a migrate: rake db:migrate Product Videos -------------- Install run `bundle install` on command or terminal run `rake spree_videos:install` run `rake db:migrate` How to use # Go to configuration Tab > Video Type # Add a new Video Type ex : * Name : Youtube * Width: 250 * Height : 200 * Embed Code : bc. <object width="[[WIDTH]]" height="[[HEIGHT]]"><param name="movie" value="http://www.youtube.com/v/[[KEYWORD]]"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/[[KEYWORD]]" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="[[WIDTH]]" height="[[HEIGHT]]"></embed></object> # Go to product edition # Choose Video # Add a new Video ex : * name : "Name" * Video Type : "Youtube" * Keyword : "p8t41avFuCc" Wishlist -------- `rake spree_wishlist:install` `rake db:migrate` Browse Store ------------ http://localhost:nnnn Browse Admin Interface ---------------------- http://localhost:nnnn/admin Solr Configuration Dev Env -------------------------- 1. Clone jetty solr repo `git clone git://github.com/dcrec1/jetty-solr.git` 2. Copy solrconfig configured to spell check to jetty solr. `cp config/solrconfig.xml <jetty-solr>/solr/config/solrconfig.xml` 3. Run Solr `./start` 4. App search will work to display right results