Skip to content

elkinsware/groopbuyr-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Site using Groopbuyr Gem

This is an example rails application that uses the Groopbuyr Gem. The application provides rake tasks to pull new/updated deals from Groopbuy.com and pull the cities that Groopbuy.com has deals for.

This rails applications allows you to determine if you are interested in seeing deals or not interested and uses this information to train the app to determine if new deals would be interesting to you or not. The way I was using it was to identify health related deals.

This was built to be internal application that is called by other web apps to pull in deals to enhance page content through API calls.

Getting Started

  1. download and extract

  2. Setup database.yml, app_config.yml and gmaps_api_key.yml by using the “.sample” files provided in config/

  3. rake db:setup

  4. rake cities:fetch

  5. rake deals:fetch

  6. start the web server: script/server (run with –help for options)

  7. Go to localhost:3000/

  8. Mark deals that you are interested in.

  9. After future runs of rake deals:fetch, then run rake deals:relevance.

Gems Used

  • will_paginate

  • geokit

  • chronic

  • classifier

  • groopbuyr

Rake Tasks for App

  • rake cities:fetch

  • rake deals:fetch

  • rake deals:relevance

Configure Email settings for Relevance Report email

  1. Copy config/app_config.yml.sample to config/app_config.yml

  2. Open config/app_config.yml

  3. Then modify report_recipient, report_sender, smtp_settings and domain for each environment as necessary.

API calls for Application

License

Released under the MIT license.

Contact

My name is Dave Elkins. You contact me at dave@elkinsware.com or check out my web site at daveelkins.com/.

About

example rails application using the groopbuyr gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published