1
0
Fork 0

Add README

This commit is contained in:
Andrew Tomaka 2018-01-17 20:58:28 -05:00
parent d08054cc48
commit d77603522c
4 changed files with 39 additions and 0 deletions

View file

@ -1 +1,2 @@
.git/
.env

32
README.md Normal file
View file

@ -0,0 +1,32 @@
# cc-bandwidth
Ruby script to grab your current Comcast bandwidth usage.
## Pre-requisites
* Docker
* Comcast
## Usage
### Pre-built
```
docker run \
--env COMCAST_USERNAME=username \
--env COMCAST_PASSWORD=password \
atomaka/ccbw
```
### From Source
* Clone repository
* `cp .env.sample .env`
* Add username and password
* `bin/setup`
* `bin/check`
## Notes
If login fails, login into your account manually via the web one time and
confirm any messages, then retry.

3
bin/check Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
docker run --env-file .env ccbw

3
bin/setup Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
docker build --tag ccbw .