debugger22 / github-audio
- вторник, 4 октября 2016 г. в 03:13:58
JavaScript
Listen to music generated by events happening across GitHub 🎷 🎸
Listen to music generated by events happening across GitHub
$ brew install nodejs
$ brew install npm
$ brew install redis
$ sudo apt-get updade
$ sudo apt-get install nodejs
$ sudo apt-get install npm
$ sudo apt-get install redis-server
Navigate to the project directory and run
$ npm install
$ export GITHUB_OAUTH_KEY=<your_github_oauth_key>
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.
$ node server
Note: For production run export NODE_ENV="production"
before starting the server.