Skip to content

kthffmn/gametime

Repository files navigation

Gametime

Description

A group and and exercise app for improvisors.

Geting Started

Command line:

git clone https://github.com/kthffmn/gametime.git
cd gametime
bundle install
rake db:migrate
rake db:seed

Becuase the gem hasn't been updated to require assets as Rails 4 specifies, in the 'chosen' gem, specifically in stylesheets/chosen.css.scss, add:

//= depend_on_asset "chosen-sprite.png"
//= depend_on_asset "chosen-sprite@2x.png"

Go to Facebook's app dev page and create an app with a callback of http://localhost:3000. Update app/assets/javascripts/facebook.js.coffee, line 11, to reflect your FB app's id. Add your FB app's id and key either to an application.yml file, secrets.yml file, or directly to the config/initalizers/omniauth.rb file. Make sure not to push the key to GitHub.

Create Omniauth initializer in config/initializers/ called omniauth.rb. Add the code below to it:

OmniAuth.config.logger = Rails.logger

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :facebook, 'YOUR-APP-ID-HERE', 'YOUR-APP-SECRET-HERE'
end

For more info on oauth through Facebook, see this post.

To access the console from the command line, run rails c, and to run the server, run rails s. In the browser go to http://localhost:3000/.

Database

Picture of database schema

To Do (3 sections)

1. Rails

  • Make strong_params allow for users to make a new tag from game form
  • Add way to add multiple tags to game form
  • Fix now screwed up coffeescript for new game form
  • Make active links in nav-bar appear active
  • Beta branch: Fix bug where entering a negative number into min and max breaks the app resulting in a "can't use map with nil class" (also seen in 2 rspec failures) error
  • Make homepage
  • Add a Wrap Bootstrap theme
  • Add variations to game form
  • Add tips to game form
  • Add search feature for faster browsing
  • Add users that authenticate through Facebook
  • Use users' FB profile photos for their profiles
  • Add "review" functionality to games
  • Add "fav" functionality to games

2. Angular

3. General

  • Santize scraped data here and make it into a seed file
  • Make icon
  • Decide on name

License

This app is MIT Licensed. See LICENSE for details.

About

Angular on Rails group game aggregator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors