Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tog plugin for managing videos
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
locale
test
.gitignore
MIT-LICENSE
README
Rakefile
init.rb

README

TogVideos
=========

A simple plugin for sharing videos

== Included functionality

* Add videos from many online services (thanks to acts_as_unvlogable)
* Videos: taggables, rateables, commentables
* Public and private videos

Resources
=========

Plugin requirements
-------------------

* seo_urls
* tog_user
*acts_as_unvlogable
		

Install
-------

* Install plugin form source:

<pre>
ruby script/plugin install git://github.com/molpe/tog_videos.git
</pre>

* Generate installation migration:

<pre>
ruby script/generate migration install_tog_videos
</pre>

	  with the following content:

<pre>
class InstallTogVideos < ActiveRecord::Migration
  def self.up
    migrate_plugin "tog_videos", 2
  end

  def self.down
    migrate_plugin "tog_videos", 0
  end
end
</pre>

* Add tog_videos's routes to your application's config/routes.rb

<pre>
map.routes_from_plugin 'tog_videos'
</pre> 

* And finally you can migrate the db to add the tog_videos specific tables:

<pre> 
rake db:migrate
</pre> 


More
-------

[http://github.com/tog/tog\_vault](http://github.com/molpe/tog_videos)

[http://github.com/tog/tog\_vault/wikis](http://github.com/molpe/tog_videos/wikis)


Copyright (c) 2009 Keras Software Development, released under the MIT license
Something went wrong with that request. Please try again.