This is a Ruby on Rails web app that scrapes once a day isittheweekend.com to find out if today is the weekend and sends an update to all subscribers via SMS using the Vonage SMS API.
To install this application:
bundle install
and rake db:migrate
from the command lineTo use this application:
https://my-ngrok-url.ngrok.io/webhooks/event
.env.sample
file to .env
and fill in the values for the variables
VONAGE_API_KEY
: Your Vonage API keyVONAGE_API_SECRET
: Your Vonage API secret FROM_NUMBER
: Your Vonage provisioned phone numberwhenever --update-crontab
from the command line to set up the daily scraping task localhost:3000
in your browser and add your phone number on the formDeploy to Heroku
button on the topscraper:check_site_update
task using the Heroku SchedulerThis project is under the MIT License