Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

scalableinternetservicesarchive/Scrailibility

Repository files navigation

#Scrailability

Project Description

This web application provides a social platform where people can potentially find their gym partners. We will collect registered members' information such as age, height, weight, schedule, location, preference, etc, and organize it into data layers. We run a matching alogrithm that matches members together who share high compatibility. Eventually, we recommend matching results to users. Moreover, based on users feedback by marking as unlike or like, we will adjust our parameters in our matching alogrithm to find more personalized matching.

##Team Members

  • Soomin Jeong Soomin Jeong
  • Siwen Wang Siwen Wang
  • Tom Tang Tom Tang
  • Calvin Chan Calvin Chan

MySQL Setup

  1. Make sure MySQL is installed.
  • brew install mysql
  • apt-get install mysql
  • ...
  1. Ensure that the Mysql daemon is running
  • [sudo] mysqld
  • (IF ON MAC) note the socket that mysqld is running on
    1. It should say something like Version: '5.6.24' socket: '/tmp/mysql.sock' port: 3306 Homebrew
  • Test by trying to connect via mysql shell mysql -u root
  1. Open /config/database.yml and edit settings
  • Change the socket to what is noted in 2.b.i
  • If you want to run on another user other than root, change the username
    1. If the alternate user has a password, you will need to add that as well
    2. password: **your user password here**
  1. rake db:create
  2. rake db:schema:load