You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy the contents of the jobs, widgets and config folder into the the jobs, widgets and config (maybe you need create it) folders in your dashing project.
Edit the codeclimate.yml file to configure the repository name and ID. The configuration looks like this:
repos:
repo_name: repo_id
Configure your credencials. It is not recommended add password directly in the configuration files. So, a good solution is to use dotenv gem when you are working on development and environment variables for production.
Add it to dashing's development group gemfile:
gem'dotenv'
and run bundle install.
Now just add your CODECLIMATE_API_KEYin the .env file. This file should NEVER be versioned.
Appearance
Adding this widget to your dashboard
Add the following to your dashboard.erb file, and adjust the attributes to place it where you want. The data-id value is ended by the repository name (same used in codeclimate.yml).
The layout of these widgets is inspired by Geckoboard. So, for best viewing is strongly recommended to change the dimensions of standard widgets. To do this, edit the file assets/application.coffee for something like: