Skip to content

Instantly share code, notes, and snippets.

@stephenmckinney
stephenmckinney / osx_developer_installation.md
Created February 26, 2012 11:51 — forked from stefanfoulis/osx_developer_installation.rst
Instructions on how to setup an OSX developer machine for (python/django/ruby/rails) development

OSX Developer System Installation

This guide assumes you are upgrading from Mac OSX 10.6 Snow Leopard to 10.7 Lion.


Starting Clean

Uninstall XCode

@stephenmckinney
stephenmckinney / deploy.rb
Created February 10, 2012 16:37
Capistrano task to run South migrations and collect static media
after "deploy", "deploy:migrate", "deploy:static", "deploy:restart", "custom:git:tag"
namespace :deploy do
[:stop, :start, :restart, :reload].each do |action|
desc "#{action.to_s.capitalize} Apache."
task action, :roles => :app do
run "sudo /etc/init.d/apache2 #{action.to_s}"
end
end