Skip to content

Commit

Permalink
Add link to source code and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmckenna committed Sep 25, 2017
1 parent b6a29b6 commit 8784fb9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

## What is This Thing

The Green Button Grapher parses and charts [Green Button Data](http://www.greenbuttondata.org/).
Green Button Grapher parses and charts [Green Button Data](http://www.greenbuttondata.org/).

## How to Use It

Use the [hosted version on GitHub](https://www.mtmckenna.com/green-button-grapher/)
First, download your Green Button Data from your power utility company's website. For example, [here are instructions for downloading Green Button Data from PG&E](https://energy.gov/sites/prod/files/Using%20Green%20Button%20Download.pdf).

Next, visit the [hosted version of Green Button Grapher on GitHub](https://www.mtmckenna.com/green-button-grapher/) and upload your Green Button file. Your data will then be displayed as a chart. Note that the file is only parsed by your web browser and not sent to a server.

## How to Build It

Expand Down
5 changes: 5 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ body {
font-size: 20px;
}

.source-code {
text-align: center;
padding: 0 0 10px 0;
}

3 changes: 3 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ class App extends Component {
handleFileSelected={this.handleFileSelected}
handleFileLoaded={this.handleFileLoaded}
/>
<div className="source-code">
<a href="https://github.com/mtmckenna/green-button-grapher">Green Button Grapher source code</a>
</div>
</div>
);
}
Expand Down

0 comments on commit 8784fb9

Please sign in to comment.