Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.02 KB

Readme.md

File metadata and controls

36 lines (27 loc) · 1.02 KB

Notify endgame

It polls bookmyshow every 15s to check for update. It is setup to be deployed on heroku.

To follow the steps you need a Heroku account and Heroku CLI.

Setup

Following changes are required:

  • In notify-endgame.py, fill in the following details of a gmail account.

    sender_email = any_gmail_id
    password = its_pass
  • In reciever.txt , add emails which have to be notified for the booking.

Usage

Follow the steps below to deploy it on heroku.

  1. Clone this repo and push code to heroku.
git clone https://github.com/gyanesh-m/notify.endgame.git
cd notify.endgame
git init
heroku create
git push heroku master
  1. Spawn a worker to start the task.
heroku ps:scale worker=1

To view logs, type heroku logs