/gonzobahn

On the road for cultural freedom

Primary LanguageRuby

Gonzobahn

Gonzobahn is a work in progress community application built with RubyOnRails implementing ideas sprung from the concept of open source art. Currently features an online video/audio recorder leveraging the power of Red5, an open source alternative to Adobe Flash Media Server.

Development Setup

Here’s a step by step guide to getting started with your development environment.

Setup database

rake db:migrate
rake db:test:prepare

Install gems

sudo rake gems:install

Setup Red5

Follow installation instructions on jira.red5.org/confluence/display/downloads/Red5+v0.8.0+Release+Candidate+2+02.03.2009

When Red5 is up and running. Browse to localhost:5080/installer and install the oflaDemo application (you only need to do this once).

Setup FFMPEG

Gonzobahn expects there to be a ffmpeg binary ready to run from a pathed dir on your system.

If you’re on Mac OS you can use the precompiled ffmpeg binary found in vendor/bin/leopard/ffmpeg.

Example (make sure you have ~/bin in your path first)

cp vendor/bin/leopard/ffmpeg ~/bin/

Configure directories

cp config/initializers/directories.rb.example config/initializers/directories.rb

Then edit the file and set the values corresponding to your setup. You’ll probably only have to worry about RED5_RECORDINGS_DIR.

Run it

script/server

Now start implementing your awesome improvements.

Deploying

(this section is work in progress)

The instructions are written for Ubuntu 8.04.

Install ffmpeg

Follow the guide - po-ru.com/diary/up-to-date-ffmpeg-on-ubuntu-hardy/