Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

LexLadiesCode/KristenAndToddGetMarried

Repository files navigation

Kristen and Todd Get Married

What is this?

A Ruby on Rails app to share wedding information for our friends Kristen and Todd! We wrote a Rails app instead of, say, a simple HTML page because we wanted to display cool data from their Wanderable honeymoon registry. Wanderable at the time did not have an API, so this Rails app uses Mechanize to scrape data directly off the Wanderable registry web page.

How to Run the App

You need to know Kristen and Todd's Wanderable.com registry URL, not included in this repository for privacy purposes.

  1. bundle
  2. bundle exec rake db:migrate
  3. cp dotenv.sample .env (Windows users must use command 'copy dotenv.sample .env')
  4. Edit .env and update the Wanderable registry URL. Also fill out the Gmail user name and password (any Google account will do, even LexLadiesCode's) so the mailers can send RSVP emails.
  5. rails s

How to Run Tests

  1. bundle
  2. RAILS_ENV=test bundle exec rake db:migrate
  3. RAILS_ENV=test bundle exec rspec

Screenshot