Skip to content

Commit d42071d

Browse files
authored
Merge pull request #31 from jennylia/master
added some details to README
2 parents 99ece09 + 946fe3e commit d42071d

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ jspm_packages
3535

3636
# Optional REPL history
3737
.node_repl_history
38+
39+
# Optional for people who uses JetBrains products
40+
*.idea

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@ But seriously, [listen-to-wikipedia](https://github.com/hatnote/listen-to-wikipe
1010
<sub><sup><sub><sup>Use [`ULTIMATE_DREAM_KILLER`](https://github.com/debugger22/github-audio/commit/ed47067f5e56ab70d65fa31f72bf2dbc513f8f56) to filter all events except closed PRs.
1111

1212

13-
Media
13+
Media Attention
1414
-----
15-
1615
* [The Next Web](http://thenextweb.com/apps/2016/10/03/this-site-tracks-events-across-github-to-generate-calming-work-music/)
1716
* [Product Hunt](https://www.producthunt.com/tech/github-audio)
1817

1918

20-
Installation on OSX
19+
# Installing dependencies
20+
21+
This application requires:
22+
* node
23+
* npm
24+
* redix
25+
26+
Dependency Installation on OSX
2127
-------------------
2228

2329
```bash
@@ -26,7 +32,7 @@ $ brew install npm
2632
$ brew install redis
2733
```
2834

29-
Installation on Linux
35+
Dependency Installation on Linux
3036
---------------------
3137

3238
```bash
@@ -36,6 +42,7 @@ $ sudo apt-get install npm
3642
$ sudo apt-get install redis-server
3743
```
3844

45+
# Running the Application
3946
Install node packages
4047
---------------------
4148

@@ -54,11 +61,17 @@ $ export GITHUB_OAUTH_KEY=<your_github_oauth_key>
5461

5562
Note: Without the GitHub oauth key the number of requests is throttled at 60 per hour. It can be increased to 5000 per hour by using an oauth key.
5663

57-
Run server
64+
Run Redis and Server
5865
----------
5966

67+
```bash
68+
$ redis-server
69+
```
70+
71+
In a separate window:
6072
```bash
6173
$ node server
6274
```
6375

6476
Note: For production run `export NODE_ENV="production"` before starting the server.
77+

app/public/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var svg_background_color_online = '#0288D1',
3232

3333

3434

35-
var socket = io(document.location.hostname);
35+
var socket = io();
3636
socket.on('github', function (data) {
3737
$('.online-users-count').html(data.connected_users);
3838
data.data.forEach(function(event){

0 commit comments

Comments
 (0)