by Ben Turner (@Xeus)
Project for John Schimmel's Dynamic Web Development class at NYU-ITP.
- DWD Notes: http://itpwebclass.herokuapp.com/
Party game. People get 5 minutes to create rhymes from a prompt of 2 common rap topics. Then when time's up, someone has to perform the song and should be judged on his/her flow!
Open your terminal/shell/command prompt. Make sure you have Node.js installed.
Clone the repository. Type git clone git@github.com:Xeus/Karaoke-Flow.git
in the parent directory you wish to install ./Karaoke-Flow
to.
See package.json for dependencies. Type npm install
to install them. Uses MongoDB and the Heroku toolbelt.
- MongoDB: http://www.mongodb.org/downloads
- Heroku toolbelt: https://toolbelt.heroku.com/
Set up your .env file to include your MONGOLAB_URI
variable, which has your user/pass to connect to MongoDB. Your .env
will also hold a variable SECRETSTRING
which salts your user db. So the .env
file will look like this:
MONGOLAB_URI=mongodb://user:pass@host:port/dbname
SECRETSTRING=yourstring
Type foreman start
in the ./Karaoke-Flow
directory to start up the node.js process. This is needed so node.js can access the .env file.
Connect to http://localhost:5000 to get your flow started! Or see an online demo at http://karaokeflow.herokuapp.com/ with a populated db.
package.json:
{ "name": "Karaoke-Flow",
"version": "0.8.0",
"dependencies": {
"express": "2.5.6",
"ejs": "latest",
"mongoose" : "2.5.6",
"request" : "latest",
"express": "2.5.8",
"mongodb" : "0.9.6-7",
"connect-mongodb": ">= 1.1.3",
"bcrypt" : "0.4.1",
"passport": "0.1.7",
"passport-local": "0.1.2",
"underscore": ""
} }
Also thanks to:
- John Schimmel's Dynamic Web Dev code
- Dejan Jacimovic's countdown JavaScript code
- Thomas Fuchs' Keymaster JavaScript code
01 May 12: Added more helpful comments/docs, updated README.md.
- fix gap in looped beat tracks (HTML5 bug?)
- duplicate topics in flow metadata need to be fixed
- user account page needs to be indented
- insert choruses
- insert random rappers' rhymes
- add more phat beats (from Raj?)
- hook up to microphone & beat machine & recorder?