PLATFORMS Ruby Version 2.2.3
-
Ruby version 2.2.3
-
System dependencies coffee-rails (
> 4.1.0) geocoder jbuilder (> 2.0) jquery-rails mysql2 (> 0.3.13) rails (= 4.2.4) rails-erd sass-rails (> 5.0) sdoc (> 0.4.0) spree (= 3.0.4) spree_auth_devise! spree_core 2 spree_gateway! spring sqlite3 turbolinks uglifier (>= 1.3.0) web-console (> 2.0) yaml_dbGIT remote: git://github.com/spree/spree_auth_devise.git revision: f231fce43686d66fe3e6d65ba8595b4474c49895 branch: 3-0-stable specs: spree_auth_devise (3.0.0) devise (
> 3.4.1) devise-encryptable (= 0.1.2) json multi_json spree_core (> 3.0.0)
GIT remote: git://github.com/spree/spree_gateway.git revision: 7301dc7c84c05b46427bf5003eda13ca64a48d7c branch: 3-0-stable specs: spree_gateway (3.0.0.beta) spree_core (> 3.0.0)> 2.5, >= 2.5.4) rails-dom-testing (
3 GEM remote: https://rubygems.org/ specs: actionmailer (4.2.4) actionpack (= 4.2.4) actionview (= 4.2.4) activejob (= 4.2.4) mail (> 1.0, >= 1.0.5) actionpack (4.2.4) actionview (= 4.2.4) activesupport (= 4.2.4) rack (> 1.6) rack-test (> 0.6.2) rails-dom-testing (> 1.0, >= 1.0.5) rails-html-sanitizer (> 1.0, >= 1.0.2) actionview (4.2.4) activesupport (= 4.2.4) builder (> 3.1) erubis (> 2.7.0) rails-dom-testing (> 1.0, >= 1.0.5) rails-html-sanitizer (> 1.0, >= 1.0.2) activejob (4.2.4) activesupport (= 4.2.4) globalid (>= 0.3.0) activemerchant (1.47.0) activesupport (>= 3.2.14, < 5.0.0) builder (>= 2.1.2, < 4.0.0) 4 i18n (>= 0.6.9) nokogiri (> 1.4) activemodel (4.2.4) activesupport (= 4.2.4) builder (> 3.1) activerecord (4.2.4) activemodel (= 4.2.4) activesupport (= 4.2.4) arel (> 6.0) activesupport (4.2.4) i18n (> 0.7) json (> 1.7, >= 1.7.7) minitest (> 5.1) thread_safe (> 0.3, >= 0.3.4) tzinfo (> 1.1) acts_as_list (0.7.2) activerecord (>= 3.0) addressable (2.3.8) arel (6.0.3) autoprefixer-rails (6.1.1) execjs json awesome_nested_set (3.0.2) activerecord (>= 4.0.0, < 5) bcrypt (3.1.10) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) bootstrap-sass (3.3.5.1) 5 autoprefixer-rails (>= 5.0.0.1) sass (>= 3.3.0) builder (3.2.2) camertron-eprun (1.1.0) cancancan (1.10.1) canonical-rails (0.0.11) rails (>= 3.1, < 5.0) carmen (1.0.2) activesupport (>= 3.0.0) choice (0.2.0) cldr-plurals-runtime-rb (1.0.1) climate_control (0.0.3) activesupport (>= 3.0) cocaine (0.5.8) climate_control (>= 0.0.3, < 1.0) coffee-rails (4.1.0) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.10.0) colorize (0.7.7) css_parser (1.3.7) addressable debug_inspector (0.0.2) deface (1.0.2) colorize (>= 0.5.8) 6 nokogiri (> 1.6.0) polyglot rails (>= 3.1) devise (3.4.1) bcrypt (> 3.0) orm_adapter (> 0.1) railties (>= 3.2.6, < 5) responders thread_safe (> 0.1) warden (> 1.2.3) devise-encryptable (0.1.2) devise (>= 2.1.0) erubis (2.7.0) execjs (2.6.0) ffaker (1.32.1) font-awesome-rails (4.5.0.0) railties (>= 3.2, < 5.0) friendly_id (5.1.0) activerecord (>= 4.0.0) geocoder (1.2.12) globalid (0.3.6) activesupport (>= 4.1.0) highline (1.6.21) htmlentities (4.3.4) httparty (0.13.7) json (> 1.8) multi_xml (>= 0.5.2) i18n (0.7.0) 7 jbuilder (2.3.2) activesupport (>= 3.0.0, < 5) multi_json (> 1.2) jquery-rails (4.0.5) rails-dom-testing (> 1.0) railties (>= 4.2.0) thor (>= 0.14, < 2.0) jquery-ui-rails (5.0.5) railties (>= 3.2.16) json (1.8.3) kaminari (0.16.3) actionpack (>= 3.0.0) activesupport (>= 3.0.0) loofah (2.0.3) nokogiri (>= 1.5.9) mail (2.6.3) mime-types (>= 1.16, < 3) mime-types (2.99) mini_portile (0.6.2) minitest (5.8.3) monetize (1.3.1) money (> 6.6) money (6.6.1) i18n (>= 0.6.4, <= 0.7.0) multi_json (1.11.2) multi_xml (0.5.5) mysql2 (0.3.20) nokogiri (1.6.6.4) 8 mini_portile (> 0.6.0) orm_adapter (0.5.0) paperclip (4.2.4) activemodel (>= 3.2.0) activesupport (>= 3.2.0) cocaine (> 0.5.5) mime-types paranoia (2.1.4) activerecord (> 4.0) polyamorous (1.2.0) activerecord (>= 3.0) polyglot (0.3.5) premailer (1.8.6) css_parser (>= 1.3.6) htmlentities (>= 4.0.0) premailer-rails (1.8.2) actionmailer (>= 3, < 5) premailer (> 1.7, >= 1.7.9) rabl (0.9.4.pre1) activesupport (>= 2.3.14) rack (1.6.4) rack-test (0.6.3) rack (>= 1.0) rails (4.2.4) actionmailer (= 4.2.4) actionpack (= 4.2.4) actionview (= 4.2.4) activejob (= 4.2.4) 9 activemodel (= 4.2.4) activerecord (= 4.2.4) activesupport (= 4.2.4) bundler (>= 1.3.0, < 2.0) railties (= 4.2.4) sprockets-rails rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) rails-dom-testing (1.0.7) activesupport (>= 4.2.0.beta, < 5.0) nokogiri (> 1.6.0) rails-deprecated_sanitizer (>= 1.0.1) rails-erd (1.4.4) activerecord (>= 3.2) activesupport (>= 3.2) choice (> 0.2.0) ruby-graphviz (> 1.2) rails-html-sanitizer (1.0.2) loofah (> 2.0) railties (4.2.4) actionpack (= 4.2.4) activesupport (= 4.2.4) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rake (10.4.2) ransack (1.4.1) actionpack (>= 3.0) activerecord (>= 3.0) 10 activesupport (>= 3.0) i18n polyamorous (> 1.1) rdoc (4.2.0) responders (2.1.0) railties (>= 4.2.0, < 5) ruby-graphviz (1.2.2) sass (3.4.19) sass-rails (5.0.4) railties (>= 4.0.0, < 5.0) sass (> 3.1) sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) sdoc (0.4.1) json (> 1.7, >= 1.7.7) rdoc (> 4.0) select2-rails (3.5.9.1) thor (> 0.14) spree (3.0.4) spree_api (= 3.0.4) spree_backend (= 3.0.4) spree_cmd (= 3.0.4) spree_core (= 3.0.4) spree_frontend (= 3.0.4) spree_sample (= 3.0.4) spree_api (3.0.4) rabl (> 0.9.4.pre1) 11 spree_core (= 3.0.4) versioncake (> 2.3.1) spree_backend (3.0.4) bootstrap-sass (> 3.3.1) jquery-rails (> 4.0.3) jquery-ui-rails (> 5.0.0) select2-rails (= 3.5.9.1) spree_api (= 3.0.4) spree_core (= 3.0.4) sprockets-rails (> 2.2) spree_cmd (3.0.4) thor (> 0.14) spree_core (3.0.4) activemerchant (> 1.47.0) acts_as_list (> 0.6) awesome_nested_set (> 3.0.1) cancancan (> 1.10.1) carmen (> 1.0.0) deface (> 1.0.0) ffaker (> 1.16) font-awesome-rails (> 4.0) friendly_id (> 5.1.0) highline (> 1.6.18) httparty (> 0.11) json (> 1.7) kaminari (> 0.15, >= 0.15.1) monetize (> 1.1) paperclip (> 4.2.0) 12 paranoia (> 2.1.0) premailer-rails rails (> 4.2.2) ransack (> 1.4.1) responders state_machines-activerecord (> 0.2) stringex truncate_html (= 0.9.2) twitter_cldr (> 3.0) spree_frontend (3.0.4) bootstrap-sass (> 3.3.1) canonical-rails (> 0.0.4) jquery-rails (> 4.0.3) spree_api (= 3.0.4) spree_core (= 3.0.4) sprockets-rails (> 2.2) spree_sample (3.0.4) spree_core (= 3.0.4) spring (1.4.4) sprockets (3.4.0) rack (> 1, < 3) sprockets-rails (2.3.3) actionpack (>= 3.0) activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) sqlite3 (1.3.11) state_machines (0.4.0) state_machines-activemodel (0.3.0) 13 activemodel (> 4.1) state_machines (>= 0.4.0) state_machines-activerecord (0.3.0) activerecord (> 4.1) state_machines-activemodel (>= 0.3.0) stringex (2.5.2) thor (0.19.1) thread_safe (0.3.5) tilt (2.0.1) truncate_html (0.9.2) turbolinks (2.5.3) coffee-rails twitter_cldr (3.2.1) camertron-eprun cldr-plurals-runtime-rb (> 1.0.0) json tzinfo tzinfo (1.2.2) thread_safe (> 0.1) uglifier (2.7.2) execjs (>= 0.3.0) json (>= 1.8.0) versioncake (2.3.1) actionpack (>= 3.2) activesupport (>= 3.2) railties (>= 3.2) tzinfo warden (1.2.3) 14 rack (>= 1.0) web-console (2.2.1) activemodel (>= 4.0) binding_of_caller (>= 0.7.2) railties (>= 4.0) sprockets-rails (>= 2.0, < 4.0) yaml_db (0.3.0) rails (>= 3.0, < 4.3) rake (>= 0.8.7) -
Configuration DATABASE default: &default adapter: mysql2
encoding: utf8 pool: 5 username: root password: Brims socket: /var/run/mysqld/mysqld.sock
development: <<: *default database: brim_dev
15 test: <<: *default database: brim_test
production: <<: *default database: brim_production username: root password: <%= ENV['BACKEND_DATABASE_PASSWORD'] %> 16
ROUTES
Rails.application.routes.draw do
get 'homes/show'
If you would like to change where this engine is mounted, simply change the :at option to something different.
mount Spree::Core::Engine, :at => '/store' # The priority is based upon order of creation: first created -> highest priority.
17
18
end
- Database initialization Run rake db:seed Run rake db:migrate
- How to run test orders with Stripe
Use the following test credit card numbers:
4242424242424242 Visa 4012888888881881 Visa 4000056655665556 Visa (debit) 5555555555554444 MasterCard 19 5200828282828210 MasterCard (debit) 5105105105105100 MasterCard (prepaid) 378282246310005 American Express 371449635398431 American Express 6011111111111117 Discover 6011000990139424 Discover 30569309025904 Diners Club 38520000023237 Diners Club 3530111333300000 JCB 3566002020360505 JCB