Skip to content

xta/IntlRights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Intl Rights sample app for managing rights by country code

##Stack

  • ruby 1.9.3p374
  • Rails 3.2.11
  • PostgreSQL

##Development Setup git clone git@github.com:xta/IntlRights.git cd IntlRights bundle rake bootstrap:setup
config database.yml & type 'continue'

rails s

Optional task: create 500K additional videos rake create_video_thousand_times[500]

##Test Setup rake db:test:prepare rake db:seed RAILS_ENV=test bundle exec guard OR rspec

##Development Caching Enabled Caching is enabled in development mode at config/environments/development.rb

If experiencing cache expiration issues, you may enter the command Rails.cache.clear in Rails Console to clear the cache.

##Deliverables

##Policy Types

  • Monetize – a video can be viewed, and can have ads run against it
  • Free – a video can be viewed, but cannot have ads run against it
  • Block – a video cannot be viewed

##Resources

About

sample app for managing rights by country code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors