Beer Endpoint for Kegs at Puppet Labs.
The production deployment can normally be found at http://puppetlabs.com/beer
This works through a very complex system of talking to a google spreadsheet and reading cells. The sheet needs to look a certain way, or this whole thing falls apart. Is this useful outside of Puppet Labs? Maybe, but it might require edits.
Wow, I still hate ruby deployments. In order to "solve" the deployment problem, I'm trying out docker here.
make image
You'll want to export your GOOGLE_DRIVE_PASSWORD
and GOOGLE_DRIVE_USERNAME
prior to running:
make run
If you're using my makefile for shortcuts, then your container will be named beer_endpoint.
docker logs beer_endpoint
make clean
This will stop the running container and remove it from your system. This is nice when doing development and iterating.
If you'd like to fix/improve anything, please do. I'm hoping the docker model makes this a little easier for people doing development to send up UI fixes or patches or whatnot.
- WTFPL -- See LICENSE File for more infromation.