No description, website, or topics provided.
Ruby JavaScript Shell CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
vendor
.gitignore
.rspec
Capfile
Gemfile
Gemfile.lock
Guardfile
README.md
Rakefile
config.ru

README.md

escaper-caper

http://escapercaper.com

Selling travel is about stimulating the imagination. People want to sample the local color and to feel like they are getting a special experience.

In a perfect world, every escape would get the full-spread Travel & Leisure treatment. Since we don't live in that world, Escaper Caper is here to give some extra context to LivingSocial escapes.

In a nutshell, the app pulls images from flickr and checks foursquare for venues near each escape. Based on the types of venues that are found, it groups the escapes into categories like food, nightlife, or arts & entertainment. Pick a category, and escaper caper will show you an escape that matches it. When viewing an escape, you'll see a collection of photos and foursquare venues aimed at giving a rough "on the ground" look at what the place might feel like.

To run tests:

git clone git://github.com/worace/escaper-caper.git

database.yml is not committed for the sake of server config, so we need to rename it for tests:

mv config/database.test.yml config/database.yml

bundle install

Make sure you have redis running on default port:

redis-server /usr/local/etc/redis.conf

Run the tests:

bundle exec rspec

One note - the tests use VCR to cache the API responses from foursquare and flickr when testing the background jobs, so you will need to be connected to the internet on the initial run.