VacationCaster scans airbnb for last minute cancellations
VacationCaster helps AirBnB guests by finding them potential deals from hosts who are dealing with potentially lost revenue. The goal of this project is to bring aspects of yield management to the vacation rental marketplace.
The heavy lifting of finding last minute cancellations is handled by background jobs. Background jobs and scheduling jobs are handled by resque and resque-scheduler, respectively. User, search, and AirBnB data is persisted with Postgres.
##Getting Started
- Start Postgres and Redis
- run
bundle install
to install gems - run
rake db:migrate
to set up Postgres - run
rake db:seed
to get some users, and a search of Kingman, AZ. - run
rake resque:scheduler
to process schedules - run
rake resque:work QUEUE=*
to run background jobs - run
rails s
to start the server. 8. When testing the bookmarklet, usethin start --ssl -p 3000
to enable https.
##Production
- Deploy to Heroku.
- Install the Redis To Go, and SendGrid addons.
- Run
heroku run rake db:migrate
to get the DB serviceable. - Scale workers as needed.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request