But what now?
Spree is "developer friendly", which means you will need to use the thinking of developers when creating your application. To create a new page, you will need to follow the Rails-Way. If you run bin/rake routes
, you will see all the routes you created.
Spree, - spree.root_path
. , main_app.root_path
. , , , Spree.
: http://blog.benmorgan.io/post/102924399166/customizing-spree-some-best-practices. ( Spree).
rails. , ?
Bundler Spree, rvm rbenv . , , :
gem 'spree', github: 'spree', branch: '3-0-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-0-stable'
gem 'spree_gateway', github: 'spree/spree_gateway', branch: '3-0-stable'
Solidus, Spree; Spree .
:
- Spree Frontend.
, , .
Spree::Order
. Spree::Order.next!
, . , order.contents.add Spree::Variant.first, 1
, . - .
Spree, , ~ 4 . 1 (), 1 (frontend), 1 (backend) 1 API.
- API V2. Spree 4 API, JSON API Ember. . JSON API. API Spree V2 .