# dmm-eikaiwa-tsc

Teacher Schedule Checker for DMM Eikaiwa. This application sends emails to you when  reservable lessons of your favorite teachers are available.

## Deploying to Heroku

You can deploy dmm-eikaiwa-tsc to Heroku easily. At first, click this button.

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

And then, input following.

* App Name - Heroku's application name. dmm-eikaiwa-tsc-demo or something.
* TEACHER_IDS - Teacher's IDs what you want to follow
* NOTIFICATION_EMAILS - Email addresses for notification

Finally, click "Heroku Scheduler" link and click "Add new job" button. Next, type "bin/fetcher -l debug" and then click "Save" as following.



That's all for now, you'll receive emails of reserverble lesson schedules of your favorite teachers.

NOTE, Emails are sent from noreply@lampetty.net, please check a spam folder if you cannot get emails.

## Developing

### Setup

```bash
$ ./setup.sh
$ source venv/bin/activate
```

### Migrating database

```bash
$ alembic upgrade head
```

# dmm-eikaiwa-tsc

Teacher Schedule Checker for DMM Eikaiwa. This application sends emails to you when  reservable lessons of your favorite teachers are available.

## Deploying to Heroku

You can deploy dmm-eikaiwa-tsc to Heroku easily. At first, click this button.

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

And then, input following.

* App Name - Heroku's application name. dmm-eikaiwa-tsc-demo or something.
* TEACHER_IDS - Teacher's IDs what you want to follow
* NOTIFICATION_EMAILS - Email addresses for notification

Finally, click "Heroku Scheduler" link and click "Add new job" button. Next, type "bin/fetcher -l debug" and then click "Save" as following.

![Heroku Scheduler setting](/../master/doc/heroku_scheduler.png?raw=true "Heroku Scheduler setting")

That's all for now, you'll receive emails of reserverble lesson schedules of your favorite teachers.

NOTE, Emails are sent from noreply@lampetty.net, please check a spam folder if you cannot get emails.

## Developing

### Setup

```bash
$ ./setup.sh
$ source venv/bin/activate
```

### Migrating database

```bash
$ alembic upgrade head
```

Add screenshot of Heroku Scheduler
Add screenshot of Heroku Scheduler
