Difference between revisions of "Spree"

From Wasya Wiki
Jump to: navigation, search
Line 16: Line 16:
 
* https://spree-guide-2-3-x.hoshinotsuyoshi.com/developer/getting_started_tutorial.html
 
* https://spree-guide-2-3-x.hoshinotsuyoshi.com/developer/getting_started_tutorial.html
  
* http://localhost:3000/
+
* docker run --rm -it -p 3000:3000 spreecommerce/spree:3.6.4
  
 
== Spree 4 ==
 
== Spree 4 ==

Revision as of 21:52, 31 October 2022

Default credentials:

  • login: spree@example.com
  • password: spree123


Spree 2

Looks like dockerized spree 3 can be used instead.

Add a user: https://stackoverflow.com/questions/10364312/how-to-access-the-admin-section-of-spree-in-production

Spree 3

  • docker run --rm -it -p 3000:3000 spreecommerce/spree:3.6.4

Spree 4

The frontend was removed in Spree 4, here is the one from Spree 3:

The new frontend:

My own dashboard (admin panel, they call it backend for some reason) version 4.4.2 works on 2022-10-19:

  • git@github.com:wasya-co/spree_backend.git


Tutorials

Troubleshoot

Register your own cancan ability in the initializer:

Spree::Ability.register_ability(YourAbilityClass)