Skip to content

Instantly share code, notes, and snippets.

For our open source project, we chose the Spree library https://github.com/spree/spree/blob/master/.github/CONTRIBUTING.md which is an open source ecommerce solution for Ruby on Rails. The issue chosen was https://github.com/spree/spree/issues/7734 . The issue consisted of a bug where users could promotions as they checked out an order, but the order total not limiting the discount amount to $0.
To get started, we followed the procedures to clone down the repo. Immediately, we encountered an error on our ruby version and had to update from 2.4.1 to 2.4.2 . Then, our next issue preventing us from setting up the repo successfully was installing the MySQL database; specifically, MySQL 2.
Once we successfully cloned down the environment we found they had created several sub-environments in the Spree application. One for testing (Core) and one for spinning up your local development environment (Sandbox). Additionally, another new feature we saw was a directory structure breaking down into front-end, back-end,