Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ertrzyiks/dashing-wercker-list
https://github.com/ertrzyiks/dashing-wercker-list
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ertrzyiks/dashing-wercker-list
- Owner: ertrzyiks
- License: mit
- Created: 2015-07-24T16:48:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-26T15:00:12.000Z (over 9 years ago)
- Last Synced: 2024-12-07T19:35:55.042Z (about 1 month ago)
- Language: CSS
- Size: 195 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dashing WerckerList widget
A [Dashing](http://github.com/shopify/dashing) widget for [Wercker](http://wercker.com)
![](/screenshots/screenshot_list.png?raw=true)
Version with one build on single widget can be found here: https://github.com/ertrzyiks/dashing-wercker
## Requirements
1. [Dashing](http://github.com/shopify/dashing)
2. A [Wercker](http://wercker.com) account
3. The contents of this repo## Setup
1. `git clone [email protected]:ertrzyiks/dashing-wercker-list.git`
2. Copy Wercker logo to your assets```
mkdir -p dashing/assets/images
cp dashing-wercker-list/assets/images/wercker_logo_shield_black.png dashing/assets/images
```
3. Copy `WerckerList` widget into your dashing project widgets```
mkdir -p dashing/widgets/wercker_list
cp -R dashing-wercker-list/widgets/wercker_list dashing/widgets/wercker_list
```
4. Add `wercker_list.rb` job to dashing jobs```
cp dashing-wercker-list/jobs/wercker_list.rb dashing/jobs
```## Config
There is config array on the top of jobs/wercker_list.rb:
```
projects = [
{ :name => 'Example1', :user => 'YOUR_USER', :application => 'YOUR_APPLICATION1', :branch => 'master' },
{ :name => 'Example2', :user => 'YOUR_USER', :application => 'YOUR_APPLICATION2', :branch => 'master' }
]
```Fill it with Wercker application informations and choose branch.
[Generate token](https://app.wercker.com/#profile/tokens) and expose it in `WERCKER_AUTH_TOKEN` environment variable.
## Dashboard
To display your dashboard you can use the `dashboards/wercker.erb` as example:
```html
```