/Nowtable

Totally not Turntable.fm

Primary LanguageJavaScript

Nowtable is a real-time DJing service built on Node and Now! Upload music and listen to it together!

Copyright (C) 2011 by Kevin Hwang and Frederick Meyer

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Dependencies: node express now connect-form formidable mongodb ejs

******************
SETUP INSTRUCTIONS
******************
1: Download the code:
git clone https://github.com/DungFu/Nowtable
2: Install dependencies via npm:
npm install express now connect-form formidable mongodb ejs
3: Run the code:
sudo node server.js

Make sure that you have MongoDB on your system! If you have installed MongoDB for the first time make sure that it is running and set up properly before you run the code. Make sure /data/db exists. If not, run:
mkdir -p /data/db.

Also note that shutting down the server while clients are still connected will corrupt your users database, so if this is the case you should clear the database. The DB is called "nowtable" and the collection is called "userinfo".