Archive for November, 2008

Deploy when github goes down

November 27th, 2008 by pyrat


You are not screwed

As git is distributed, the repository on your local machine is good enough to deploy from.

First start a git server on your local machine.

  git daemon --base-path=/projects/rails_apps/ --export-all

Then change your capistrano recipe to deploy with the copy command and change the repo to point to your local machine.

  set :deploy_via, :copy
  set :repository 'git://127.0.0.1/proj_name'

Where in this example the code resides at */projects/rails_apps/proj_name*

Now capistrano will deploy from your local repository, thus avoiding the currently melted github

There are other options which have been listed by chris wanstrath in the following article

Wicked Wednesday – Weirs Way

November 19th, 2008 by pyrat

I am a big fan of weirs way. Here is an excerpt from one of the classic episodes.

Example ubuntu hardy slicehost monit config

November 18th, 2008 by pyrat

pastie day

I am using mod_rails aka passenger more and more in production server setups. This pastie shows a common setup for a standard ubuntu slice. You can almost cut n paste this config.

Web interface for monit is disabled.

Wicked Wednesday – NO Boarding

November 12th, 2008 by pyrat

NoBoarding – the latest craze of the snowboarding world. Apparently its properly difficult. Will it stay, or is it just a fad?

Nopesport – A case study

November 9th, 2008 by pyrat

I recently redeveloped the orienteering news website nopesport This was done with the artistic touch of nonimage as it was back in 2003 when nopesport was an “overnight” success having been cooked up when both nonimage an I were out of work after university.

I have been working professionally as a web programmer of 4-5 years now, and not enough of this expertise had been used in the previous php based incarnation.

Workflow

A big part of developing a web application remotely is workflow. There are various tools that help oil the wheels in a distributed team.

  • Project Management

You need to be able to discuss and document the situation with project management software. We used basecamp for this.

  • Source Control

Gitrdone

After graduating from svn school, like most rails heads I have moved to the distributed version control system git. Android is now using git as well along with a few other high profile projects. Its the best thing that I have learnt in 2008 re technology.

  • Simple “One-click” Deployment

Capistrano and source control allow super slick deployments. After you have set it up, bring on the automation.

  • Designer integration with source control

Having a designer that can code CSS, is a major asset. Having a designer that can code CSS and be integrated into the development workflow is a super special major asset.

  • Bug documentation and fixing process

Having a standard way for bug reporting, and a slick fast process of fixing them is top class.

Design

I dont speak for nonimage here.. maybe he will do a guest post on the subject!! hint hint

We are sick to the stomach with shiny web 2.0 designs. They are out of date in my book and it is sad the number of designers who are still just graduating from the web 1.0 style of designing only to find themselves still behind after they update their skills.

We decided that typography was important (like a lot of designers and developers 2007-2008) and we wanted a dirty grunge design.

We had some conversations with the other guys who run the site day to day and do a sterling job. They added their input along the way. Generally though, we were essentially our own client which is a great situation to be in.

XDA Mini S Reset – Format Everything

November 8th, 2008 by pyrat

Press the soft reset button. (Under the IR port) As you let go of that reset button, make sure you are pressing both the comm manager button, AND the voice buttons. Thats the top left side and upper right side buttons. This is called a hard reset and WILL ERASE EVERYTHING prom the phones memory. Do the screen calibration and cut/paste bit. When it say’s “Tap the screen to start using your device”, be ready to press the soft reset again. This is because when you tap the screen, a customisation box will appear. PRESS THE RESET BUTTON, when you see this box. The phone reboots and hey presto, proper PDA, not o2’s idea of one. Hope this helps.

Technical tip.

Wicked Wednesday – Budweiser Advert

November 5th, 2008 by pyrat

Back in 2000 my friends and I were big fans of the budweiser WASSUP! advert. Its still funny to this day.