Code to run beer.opensourcery.com
npm installnpm install supervisor -gsudo apt-get install redis-serveror on a Mac:brew install redissupervisor app.js
- `redis-server &
- `supervisor app.js
- Setup
config/secret.jsas follows:module.exports = { clientId: YourClientId, clientSecret: YourSecretKey, debug: false }
You will need a secret key. Send POST requests to {domain}/api with the following parameters:
```
access_token: SECRETKEY
temperature: Temperature in F
kegs: [ percentKeg1, percentKeg2 ]
```
For example, kegs: [0.77, 0.42] would indicate keg 1 is at 77% and keg 2 is at 42%.