concordia-grade
Check Concordia grades and send notification to Pushbullet devices if any new grade comes in 💯.
Prerequisites
Get API token for Pushbullet
Fill env.list.todo
and rename it with env.list
.
Run
Locally (Node)
$ npm install --production # install only production dependencies
$ PUSHBULLET_TOKEN=<> CONCORDIA_USERNAME=<> CONCORDIA_PASSWORD=<> INTERVAL_CHECK_M=<> npm start
Locally (Docker)
$ docker build -t gradecheck .
$ docker tag gradecheck:latest <TAG>
$ docker run -d --env-file ./env.list <TAG>
Or,
$ docker pull samuelmasuy/gradecheck-concordia # pull image from docker hub
$ docker run -d --env-file ./env.list samuelmasuy/gradecheck-concordia:latest
AWS (Docker)
Run with AWS EC2 Container Service,
see gradecheck-task.ecs.aws.json
for a task definition example.
Development
$ npm install # install all dependencies including dev dependencies
Test (AVA)
$ npm run test
$ npm run watch:test # watch mode
Lint (Standard)
$ npm run lint
License (MIT)
See LICENCE