September 11th, 2007
Okay so it’s been several weeks (5 to be exact) since I tried to deploy the bagoflix.com site. Originally I was using Dreamhost but soon found that Ruby on Rails needed a little more juice to. I had a 3 month trial card for MediaTemple and decided to give their Grid Server a try. Vixiom was a big help getting Ruby on Rails installed on the grid server. He also helps you install Capistrano which is a wonderful tool to automatically deploy your rails app from SubVersion. I don’t know how to do this yet but Capistrano enables you to roll back to a previous release if something should go wrong.
I have since installed the whole RoR set up on a MediaTemple DV server. The process wasn’t that bad. You can see how to do it here. I was able to follow their directions and get it to work first try.
In the mean time I decided to launch a small application on Rails just to get the process down before deploying a larger app. There’s all this talk that it won’t scale and crap like that. I want to see for myself. So the app is called linkrook.com and it’s a simple long url redirect program. Check it out!
What do I think of Ruby on Rails now?
I still love it. I’m not a CS guy, just a guy that went to art school and learned ActionScript. OOP is the way to go and PHP drives me crazy, it’s soo messy. RoR helps you do things correctly with version control and clean objects… I could go on and on. Yes it took a bit to get servers set up. Much of that is because MediaTemple’s GridServer has their own mtr commands instead of capistrano.
What Challenge is next?
Getting the ActiveRevver Model to work on Rails 1.2.3. Anyone want to give me any thoughts on how to do so?
My other option is to just use the XML-RPC from Revver. I’m just not exactly sure how to structure each xml request. Revver showes the api but I’m just not quite sure how to use the xml-rpc in ruby. I’ll have to investigate more.
Resources I have found
http://del.icio.us/jspooner/rails
http://del.icio.us/jspooner/rails_deploy
Big thinks to Chris at Assay Deopt for helping me with Capistrano. Check out his developer blog for some good RoR stuff.
Posted in development | No Comments »
August 17th, 2007
Wow. Three days. Full days. Dreamhost. Media Temple. Crazy Media Temple usersnames. Capistrano. mt-capistrano. Recipes. install. upgrade. sdruby mailing list. Vlad. YIKES!!!
My App was soooo easy to build in Rails now I have to deploy it.
Here are a few links to help you deploy a RoR app. I’ll post more when I figure it out my self.
http://del.icio.us/jspooner/rails_deploy
Posted in development | No Comments »
July 12th, 2007
XML-RPC (Remote Procedure Call) has a bug in a popular version of PHP 5.2.2. You will probably see a call to an undefined function call to xmlrpc_encode_request()
Here is a link to the bug at php.net
Wordpress uses xmlrpc and there is a hack to correct the bug. The fix is to add the following line at the top of thte xmlrpc.php file.
$HTTP_RAW_POST_DATA = file_get_contents("php://input");
I’m looking for a fix to the revver video api. If you find something let me know.
I’ll update this post when I find the fix too.
Update: Rever corrected the issue. You can see it here
Posted in development | No Comments »
July 11th, 2007
Like most other skateboarders I have been filming filming for years and have racks of mini-dv tapes in the closet. A few clips made their way to videos like 411VM, and Creature Skateboards, but the others are hidden in my closet on little black tapes.
So here is the original idea behind bagoflix. I have a bunch of b-roll clips and I love watching them but there is a accessibility problem.
You have to plugin the dv-cam, dig out the RCA cables, and start scanning through those tapes. What is this? The stone age?
I want to see Jake Brown make his first 720 right now. Then I want to see Rune Glifberg do a backside d in a narly pool, and then…, and then…, and then… you get the point. And I want to see what the gonz has on this taps too.
Houston we have a problem! Lets see if the dub dub dub (aka: www) can fix the problem or at least create something fun.
Posted in development | No Comments »
July 11th, 2007
Hello World of Skateboarding!
Welcome to bagoflix.com development blog. We are busy developing the beta version and don’t have too much time to write. I’ll have more soon, I promise.
Posted in development | No Comments »