Skip to content

The main code base for the Shopping Cart service.

License

Notifications You must be signed in to change notification settings

gandalfsbooks/shopping_cart

 
 

Repository files navigation

Overall
Service Ownership
Security
Reliability
Scalability
Observability
Quality

Ruby on Rails Tutorial: sample application

This repository is not current or maintained. See www.railstutorial.org/help for the current version of the sample app.

This is the sample application for Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl. You can use this reference implementation to help track down errors if you end up having trouble with code in the tutorial. In particular, as a first debugging check I suggest getting the test suite to pass on your local machine:

cd /tmp
git clone https://github.com/railstutorial/sample_app_rails_4.git
cd sample_app_rails_4
cp config/database.yml.example config/database.yml
bundle install --without production
bundle exec rake db:migrate
bundle exec rake db:test:prepare
bundle exec rspec spec/

If the tests don't pass, it means there may be something wrong with your system. If they do pass, then you can debug your code by comparing it with the reference implementation.

Dependencies

Requires Ruby.

Backups

Ensure data is replicated across 2 active AWS Availability Zones.

Disaster Recovery

Test DR plan to GCP every quarter.

About

The main code base for the Shopping Cart service.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.1%
  • CSS 23.4%
  • Ruby 10.4%
  • HTML 2.2%
  • SCSS 0.7%
  • CoffeeScript 0.1%
  • Gherkin 0.1%