summaryrefslogtreecommitdiff
path: root/README.md
blob: 8717cfacceb47d4e117576cd6928bc60bac8cef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# LEAP Dashboard
Check out http://shopify.github.com/dashing for more information.


## Setup

Install bundler if required

```
gem install bundler
```

Install app dependencies using bundler:

```
bundle install --path=vendor/bundle
```

If `bundle install` fails along the way, you're probably missing Xcode command line utilities: `xcode-select --install`

If you're getting `fatal error: 'openssl/ssl.h' file not found` installing `eventmachine` dependency, you can try install it using the following command (make sure you have openssl installed):
```bash
gem install eventmachine -v '1.0.7' --  --with-cppflags='-I/usr/local/opt/openssl/include'
```

To gather the data, the dashboard needs access to your GoCI account & a GitHub token. You can store them and make them available to the app like so:
```bash
cp credentials_example credentials
source credentials
```

For this dashboard you furthermore need nodejs installed, e.g.
```bash
nodenv local 0.10.36
```

Use dashing to build the dashboard or start it locally.
```
dashing start
```
See `dashing --help` for usage.