Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Crowd Rock App

CrowdRockApp by Series 79 of FIELD Course LLC - Harvard University Business School Class of 2013 - 4th Place

Architect: Michael Lungo | mike@michaellungo.com



Main Features:

Live DJ Back-End
Create & Share Custom Party Playlists in Real-Time
Send a reminder email to guests with the unique playlist link
Live Party Leaderboard - Reputation points” awarded to users who frequently make popular song selections using CrowdRock
Live Song Comments - Get real-time feedback on the playlist from guests and see which songs they want to hear
Voting mechanism for song selections
GPS Location Services
Search Nearby Parties
Mobile Compatible
Import iTunes Playlist

More Info: FAQ | About | Blog

Repository Notes:

Add this to your ~/.gitconfig file

  autosetuprebase = always

Standard working procedure:

  1. Always maintain fresh copy of master
git fetch origin
  1. Create a new branch per (features/chores/bugs)
git branch features/<feature_name>
git checkout features/<feature_name>
  1. On Commit messages
Always add the PivotalTracker Story ID in the commit message [#ID]
$ git commit -m "This is my update [#41703835]"
  1. Push the feature branch to github
git push origin features/<feature_name>
  1. Login to github, and make a pull request from the repository to master

  2. If the merge will be automatically merge with out issues, confirm the merge

  3. If the merge will not do clean merge, checkout the repository to local machine and do a merge and push it directly to master

Setup local development

# Installing the requirements

1. Checkout application

2. Install apache and mysql

3. Add following line to /etc/hosts file to create an alias of localhost with a domain name: crowdrock.localhost

4. Create a virtualhost config for apache to point to the application directory for crowdrock local domain. My config is as follows. Change the documentroot according to your checkout location.

NameVirtualHost crowdrock.localhost:80

<VirtualHost crowdrock.localhost:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/CrowdRock
<Directory />
Options FollowSymLinks
AllowOverride All
<Directory /var/www/CrowdRock/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

5. Create a database crowdrock_development and then run the 2 sql files mentioned in step 6. Database credential is set as root/root in config. You can use that settings to your mysql or change the config from application/config/database.php:

$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = 'root';
$db['default']['database'] = 'crowdrock_development';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;

6. Run 2 sql files to create the db structure: