ShadowGraph is yet another YouTube copy written with Ruby on Rails. It succeed Video-App by Ralph Edge: ralphedge.com and inspired by Panda: pandastream.com.
git clone git://github.com/johnson/shadowgraph.git cd shadowgraph
Edit your config/databases.yml
cp config/database.yml.sample config/database.yml
Edit app config
cp config/app_config.yml.sample config/app_config.yml
You may need to download and compile from source - www.ffmpeg.org/download.html
In Ubuntu:
sudo apt-get install ffmpeg
In Mac OS:
sudo port install ffmpeg
Install the latest newbamboo forked rvideo to complicate ffmpeg 0.5
sudo gem install echoe sudo gem install open4 git clone git://github.com/newbamboo/rvideo.git cd rvideo rake repackage sudo rake install
sudo gem install flvtool2
Maybe you need do this:
sudo cp /usr/local/bin/flvtool2 /usr/bin/
sudo rake gems:install
If you use Linux, you should
sudo gem install RubyInline
Create and migrate database
rake db:create rake db:migrate rake db:seed
Or
rake db:setup
./script/server
Login localhost:3000 with
login/password admin/123456
Then change your pw
-
Testing
-
i18n
-
UI
* Video-App: github.com/balgarath/video-app * Panda: pandastream.com
Copyright © 2010 Johnson of [Enjoyoung](www.enjoyoung.cn), released under the MIT license