Skip to content

CarletonDevX/ScrewDate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScrewDate

TODO

  1. Finish homepage
  • Design
  • CSS/Template
  1. Finish searchpage
  • Design
  • CSS/Template
  • Rails Views (Completed)
  • Backend integration (Completed)
  1. Finish Roommate Editor page
  • Design
  • CSS/Template
  • Rails Views
  • Backend integration
  1. Collect Stalkernet data (Completed)
  2. Format data in postgreSQL table (Completed - see instructions here. lbiester has the data, if you cannot run the Stalkernet script)
  3. Models, Migrations to integrate with database
  4. SSO integration (may just use typical authentication scheme)
  5. Email API integration
  6. Hosting and Deployment

Intended Website Flow

  1. User enters site, clicks on sign up
  2. User goes through SSO
  3. User then finds their roommate in the database, clicks on them to send an email to both parties (confirmation, opt out)
  4. User then searches through available profiles, selects a person currently available on the site.
  5. User can then talk to the proxy of the desired person, decide whether they want to make the screwdate.
  6. Confirm at this point with request to profile.
  7. If confirmed, ScrewDatees both receive notification via email stating they have been screwdated, can opt out at this point
  8. Possible additional feature: If person is unsure, can ask an additional friend which will send friend the name. Friend can opt-out.
  9. Take both ScrewDatees off of the site, place in a database to send to SAO.

Environment Setup

  1. Install Ruby
  2. Install Rails $ gem install rails
  3. (optional) Install Homebrew (important for next step)
  4. Install PostgreSQL $ brew install postgresql
  5. cd path/to/screwdate
  6. bundle install (if pg gem doesn't install, try the below command)
  7. $ ARCHFlAGS= "-arch x86_64" gem install pg

After this your rails environment should be set to go!

Database Setup

  1. Start your database server - I do this using Postgres.app
  2. Make sure that the settings in database.yml correspond to how you want your database to be set up
  3. rake db:setup
  4. rake db:migrate - you can check this step by using rails console and entering 'Student', which should return a list of data attributes
  5. Run stalkernet script, place stalkernet_data.csv folder one level above the rails application
  6. rake db:seed - this will populate your database with the data from the CSV. You can check that this happened by using your rails console again and entering 'Student.all', which should give you the data from the CSV

If you want to work on this repository, just send me (chetaldrich) an email.

About

Finding your roommate a ScrewDate just got easier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published