-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fe5039
commit 49a824b
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# event-notifier | ||
|
||
## Motivation | ||
Living near an event center has some perks, such as being able to walk to concerts and sporting events and not having to pay for parking. It also has some drawbacks, mainly, excessive extra traffic on days of events. | ||
|
||
Enter `event-notifier`. This project aims to send a daily notification with the local events and their starting times each morning. This allows one to plan ahead and mitigate the effects of the extra traffic. | ||
|
||
## Overview | ||
This project works by requesting the event data from the event center's website. It uses a service called [Pushover](https://pushover.net/) to send push notifications with the daily event schedule. The daily job is scheduled via Github Actions. | ||
|
||
## Dependencies | ||
This project has the following dependencies to run locally: | ||
- Docker | ||
- docker compose | ||
- A Pushover account | ||
|
||
## Setup | ||
Copy the override example file. | ||
```bash | ||
cp docker-compose.override.yml.example docker-compose.override.yml | ||
``` | ||
Update the `PUSHOVER_USER_KEY` and `PUSHOVER_API_TOKEN` environment variables accordingly. | ||
|
||
Build the project | ||
```bash | ||
docker compose build | ||
``` | ||
|
||
## Usage | ||
Executing the program locally is as simple as: | ||
```bash | ||
docker compose run --rm app | ||
``` |