<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fighting Rabbits &#187; tools</title>
	<atom:link href="http://fightingrabbits.com/archives/tag/tools/feed" rel="self" type="application/rss+xml" />
	<link>http://fightingrabbits.com</link>
	<description>and herding cats...</description>
	<lastBuildDate>Wed, 23 Jun 2010 12:28:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Django on Snow Leopard</title>
		<link>http://fightingrabbits.com/archives/266</link>
		<comments>http://fightingrabbits.com/archives/266#comments</comments>
		<pubDate>Sun, 04 Oct 2009 10:24:15 +0000</pubDate>
		<dc:creator>Richard Cooper</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[easy_install]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[Software.]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://fightingrabbits.com/?p=266</guid>
		<description><![CDATA[Having just been given an new MacBook Pro as an early birthday present, it didn&#8217;t take me long to try and install Django on it. Rather than use the MacPorts solution I decided to use the native python 2.6 and build the rest, apart from MySQL (use the Mac OS X 10.5 (x86_64) package from [...]]]></description>
			<content:encoded><![CDATA[<p>Having just been given an new MacBook Pro as an early birthday present, it didn&#8217;t take me long to try and install Django on it. Rather than use the MacPorts solution I decided to use the native python 2.6 and build the rest, apart from MySQL (use the Mac OS X 10.5 (x86_64) package from <a href="http://dev.mysql.com/downloads/mysql/5.1.html#downloads">here</a>)</p>
<p>Before proceeding make sure that you have installed XCode (It&#8217;s on the Snow Leopard install disc) as we need it to install libjpeg and PIL (all of my Django projects use this!)</p>
<p>Download <a href="http://freshmeat.net/urls/6228c609a20bb6f87b2fef4fd4b6a30c">libjpeg</a> then:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzf</span> jpegsrc-1.v7.tar
<span style="color: #7a0874; font-weight: bold;">cd</span> jpegsrc-1.v7
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">which</span> glibtool<span style="color: #000000; font-weight: bold;">`</span> .<span style="color: #000000; font-weight: bold;">/</span>libtool
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #c20cb9; font-weight: bold;">env</span> MACOSX_DEPLOYMENT_TARGET <span style="color: #000000;">10.6</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Now we can download the <a href="http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz">source</a> and build PIL</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzf</span> Imaging-1.1.6.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> Imaging-1.1.6
<span style="color: #c20cb9; font-weight: bold;">sudo</span> python setup.py <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Last thing to do before we install Django is to install the MySqlDb connector &#8211; you will need to do add the following to your .bash_profile</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">PATH</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">${PATH}</span>:/usr/local/mysql/bin&quot;</span></pre></div></div>

<p>Then:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> easy_install mysql-python</pre></div></div>

<p>Now we can easy_install Django:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> easy_install django</pre></div></div>

<p>and we are all set to go :)</p>
<p>Thanks to these guys for the help in figuring this out:<br />
<a href="http://dryan.com/articles/snow-leopard-64bit-mamp/">http://dryan.com/</a><br />
<a href="http://www.brambraakman.com/blog/comments/installing_mysql_python_mysqldb_on_snow_leopard_mac_os_x_106/">http://www.brambraakman.com/blog/</a><br />
<a href="http://colbypalmer.com/index.php?/colbyworld/blogEntry/install_libjpeg_and_pil_on_os_x_leopard/">http://colbypalmer.com/</a><br />
<a href="http://www.agapow.net/programming/python/installing-mysqldb">http://www.agapow.net/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fightingrabbits.com/archives/266/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mounting Supervisor on a WebFaction subdomain</title>
		<link>http://fightingrabbits.com/archives/258</link>
		<comments>http://fightingrabbits.com/archives/258#comments</comments>
		<pubDate>Tue, 29 Sep 2009 19:03:18 +0000</pubDate>
		<dc:creator>Richard Cooper</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[webfaction]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://fightingrabbits.com/?p=258</guid>
		<description><![CDATA[In a previous post I mentioned that you could mount your supervisor process on a sub domain so that you could view and manage your Django and Nginx processes from a web browser. In this post I&#8217;m going to show you how to do this. First of all I&#8217;m going to assume that you have [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous post I mentioned that you could mount your supervisor process on a sub domain so that you could view and manage your Django and Nginx processes from a web browser. In this post I&#8217;m going to show you how to do this.<br />
<span id="more-258"></span><br />
First of all I&#8217;m going to assume that you have a domain called mydomain.com setup on webfaction, and that your supervisor process is listening on an app called supervisor.</p>
<p>To access your supervisor status via a web browser you need to take the following steps:<br />
1) Make sure you have a suitable sub-domain setup &#8211; you do this from the domain menu on the webfaction control panel (I usually use status.mydomain.com) :<br />
<div id="attachment_261" class="wp-caption aligncenter" style="width: 310px"><a href="http://fightingrabbits.com/wp-content/uploads/2009/09/sub-domain1.PNG"><img src="http://fightingrabbits.com/wp-content/uploads/2009/09/sub-domain1-300x198.PNG" alt="Check your Domain" title="Check your Domain" width="300" height="198" class="size-medium wp-image-261" /></a><p class="wp-caption-text">Check your Domain</p></div><br />
2) Create a new website which links the status subdomain and your supervisor app :<br />
<div id="attachment_262" class="wp-caption aligncenter" style="width: 310px"><a href="http://fightingrabbits.com/wp-content/uploads/2009/09/sub-domain2.PNG"><img src="http://fightingrabbits.com/wp-content/uploads/2009/09/sub-domain2-300x225.PNG" alt="Create a new Website" title="Create a new Website" width="300" height="225" class="size-medium wp-image-262" /></a><p class="wp-caption-text">Create a new Website</p></div><br />
3) browse to http://status.mydomain.com/ and enter the password and username we set-up in the supervisor configuration &#8211; you did remember to do that didn&#8217;t you?  ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://fightingrabbits.com/archives/258/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>My Tool Chain&#8230;</title>
		<link>http://fightingrabbits.com/archives/28</link>
		<comments>http://fightingrabbits.com/archives/28#comments</comments>
		<pubDate>Sat, 06 Dec 2008 18:42:13 +0000</pubDate>
		<dc:creator>Richard Cooper</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://fightingrabbits.com/?p=28</guid>
		<description><![CDATA[As a developer I must use one of the strangest tool chains around as I combine FOSS and Microsoft tools freely. For my Platform I use something I like to call VIMP.NET &#8211; running Vista, IIS7, MySQL, Python and .NET. I&#8217;m using Vista Ultimate with the additional &#8220;Subsystem for UNIX-based Applications (SUA)&#8221; installed to give [...]]]></description>
			<content:encoded><![CDATA[<p>As a developer I must use one of the strangest tool chains around as I combine FOSS and Microsoft tools freely.</p>
<p>For my Platform I use something I like to call VIMP.NET &#8211; running Vista, IIS7, MySQL, Python and .NET. I&#8217;m using Vista Ultimate with the additional &#8220;Subsystem for UNIX-based Applications (SUA)&#8221; installed to give me access to commands like ll, and touch, as I like to have a couple of command windows open to allow me to quickly create or copy files, whilst I&#8217;m developing. </p>
<p>For a web development framework I either use the <a href="http://www.djangoproject.com/">Django</a> framework which I find a good fit with Python and my coding style or Visual Basic .NET with the .NET3.5 Framework which is still my language of choice when costs and interoperablity aren&#8217;t a factor.</p>
<p>For a development environment I use a combination of <a href="http://www.activestate.com/Products/komodo_ide/komodo_edit.mhtml">Komodo</a>, <a href="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad++</a>, <a href="http://msdn.microsoft.com/en-us/vstudio/default.aspx">Visual Studio 2008</a> and <a href="http://www.microsoft.com/expression/products/Overview.aspx?key=web">Microsoft Expression Web</a>. Komodo is used for writing Django/Python code, Notepad++ used for JavaScript, some Django, VBScript and XML, and VS2008 is used for .NET, the small amount of SilverLight development I do, and debugging my (very buggy :) )JavaScript. (I Use <a href="http://jquery.com/">jQuery</a> for my JavaScript Framework as again it fits well with my coding style). For (x)HTML\CSS code I really like Expression Web, it has one or two minor &#8220;quirks&#8221; but I find it much easier to use compared with things like DreamWeaver.</p>
<p>For image editing, doing quick mockups of designs or alterations, or making placeholder images until I get the proper artwork from <a href="http://lollylulive.com">lollylu</a>, I use <a href="http://www.adobe.com/products/fireworks/">Adobe Fireworks</a> which is ideal for web use, and I don&#8217;t know how I coped editing images until I bought a copy of this.</p>
<p>For Version control I use SVN both &#8220;managed hosted&#8221; at <a href="http://beanstalkapp.com/">beanstalk</a> and &#8220;self hosted&#8221; on my web account with <a href="http://www.webfaction.com">WebFaction</a>. I use <a href="http://tortoisesvn.net/downloads">TortoiseSVN</a> for my windows SVN client as I really like its integration with windows explorer. I also have to use <a href="http://git.or.cz/">Git</a> to get some Django stuff from GitHub, and SourceSafe for VB but I don&#8217;t like to talk about that :)</p>
<p>For issue tracking I use <a href="http://lighthouseapp.com/">lighthouse</a> which suits my needs as it integrates well with beanstalk and as it is a managed hosted service means I don&#8217;t have much admin to do for it.</p>
<p>For code releases I use <a href="http://filezilla-project.org/">FileZilla</a> as my FTP Client, and <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> for my SSH client. I&#8217;m also trying to get <a href="http://www.nongnu.org/fab/">Fabric</a> (An open source deployment tool for Django) to work on windows, although currently I just SSH to my web account and use a custom script to pull from SVN onto my test server and change the settings file over.</p>
<p>If anybody out there uses a stranger combination of tools, please let me know :)</p>
]]></content:encoded>
			<wfw:commentRss>http://fightingrabbits.com/archives/28/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
