Link to the full repo: https://github.com/ysim/verbinski
-
Download the Climacons SVG files and add them to the folder
assets/images/climacons/
. -
Set the environment variables
FORECAST_API_KEY
,LATITUDE
, andLONGITUDE
. (You can get your latitude and longitude here). -
Copy the files to their respective locations:
`verbinski.coffee` -> `widgets/verbinski/verbinski.coffee` `verbinski.html` -> `widgets/verbinski/verbinski.html` `verbinski.scss` -> `widgets/verbinski/verbinski.scss` `verbinski.js` -> `assets/javascripts/verbinski.js` `verbinski.rb` -> `jobs/verbinski.rb`
-
Put the
verbinski.erb
snippet in one of your dashboards. -
Note that you'll have to comment out line 144 of assets/stylesheets/application.scss; this removes the padding from the widgets so that all the content can fit.
// padding: 25px 12px;