A small project to make build lights
The project is made up of 2 parts:
- A sinatra app that reads a jenkins xml output and turns it into a single web page containing the word "red" or the word "green"
- The arduino code to read the web page and show the correct light (in progress)
- Create an instance of an Ubuntu server on the cloud
- SCP the install/install.sh script to the server
- Run the script as root
- SCP the install/post-receive file to /home/build_lights/www/.git/hooks/
- On your local machine set up a remote for your server git remote add build_lights_server build_lights@:www/
- git push build_lights_server master git push build_lights_server master
- Set the Url of your jenkins server, the proxy and the proxy port in the config/config.yml file. There is a config/config.yml.example file to copy
- As root, install thin
- install the version of rack that is included in your Gemfile
- copy the thin config file to the thin config directory
- start thin #/etc/init.d/thin start