¶ ↑
ShadowGraphShadowGraph 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.
¶ ↑
Install and use¶ ↑
1. Download the codegit clone git://github.com/johnson/shadowgraph.git cd shadowgraph
¶ ↑
2. Edit your config filesEdit 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
¶ ↑
3. Install ffmpegYou 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
¶ ↑
4. Install rvideoInstall 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
¶ ↑
5. Install flvtool2sudo gem install flvtool2
Maybe you need do this:
sudo cp /usr/local/bin/flvtool2 /usr/bin/
¶ ↑
6. Install the others gemssudo rake gems:install
If you use Linux, you should
sudo gem install RubyInline
¶ ↑
7. Create database and seed dataCreate and migrate database
rake db:create rake db:migrate rake db:seed
Or
rake db:setup
¶ ↑
8. Launch server./script/server
¶ ↑
9. Login with default userLogin localhost:3000 with
login/password admin/123456
Then change your pw
¶ ↑
Can you help?-
Testing
-
i18n
-
UI
¶ ↑
Helpful links* Video-App: github.com/balgarath/video-app * Panda: pandastream.com
Copyright © 2010 Johnson of [Enjoyoung](www.enjoyoung.cn), released under the MIT license