<?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"
	>

<channel>
	<title>Mark Kirby</title>
	<atom:link href="http://mark-kirby.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://mark-kirby.co.uk</link>
	<description>Web developer in Brighton</description>
	<pubDate>Mon, 11 Aug 2008 19:16:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>WordPress as a CMS talk and sample code</title>
		<link>http://mark-kirby.co.uk/2008/wordpress-as-a-cms-talk-and-sample-code/</link>
		<comments>http://mark-kirby.co.uk/2008/wordpress-as-a-cms-talk-and-sample-code/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 19:16:06 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=237</guid>
		<description><![CDATA[In the previous post you can see slides from the talk I gave at The Werks in Hove last week. It was a full event, with around 20 attendees, so thanks to all for coming, and helping raise money for The Werks. Thanks also to Rosie for inviting me along.
During the talk we touched on [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://mark-kirby.co.uk/2008/wordpress-as-a-cms-talk-at-the-whuffie-club/">previous post</a> you can see slides from the talk I gave at <a href="http://thewerks.org.uk/">The Werks</a> in Hove last week. It was a full event, with around 20 attendees, so thanks to all for coming, and helping raise money for The Werks. Thanks also to <a href="http://rosiesherry.com/">Rosie</a> for inviting me along.</p>
<p>During the talk we touched on one important point - its incredibly easy to make a really simple theme for Wordpress. I&#8217;ve attached the <a href="http://mark-kirby.co.uk/wp-content/uploads/2008/08/democms.zip">sample code</a> here for you to browse. Its a really simple theme, with just 2 files, and will output any pages you have inside your blog in a horizontal bar at the top of your site. Feel free to play around with it and use it as the basis for your theme, although I would recommend starting a theme yourself from scratch.</p>
<p>For those who missed the talk, I&#8217;ll be speaking again at <a href="http://barcampbrighton.org/">BarCampBrighton3</a> and <a href="http://barcamp.pbwiki.com/BarCampLondon5">BarCampLondon5</a>. I&#8217;ll likely give the WordPress talk (shortened version) at the Brighton BarCamp, and if it goes down well, at London too.</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/wordpress-as-a-cms-talk-and-sample-code/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress as a CMS slides</title>
		<link>http://mark-kirby.co.uk/2008/wordpress-as-a-cms-talk-at-the-whuffie-club/</link>
		<comments>http://mark-kirby.co.uk/2008/wordpress-as-a-cms-talk-at-the-whuffie-club/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 21:00:56 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=232</guid>
		<description><![CDATA[I gave a talk today at The Werks on using WordPress as a CMS.
Here are the slides:
I&#8217;ll be posting more about this talk shortly.
]]></description>
			<content:encoded><![CDATA[<p>I gave a talk today at The Werks on using WordPress as a CMS.</p>
<p>Here are the slides:</p>
<object style="margin:0px" width="425" height="348.3606557377"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=wordpresspresentation-1218055751059413-8"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=wordpresspresentation-1218055751059413-8" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="348.3606557377"></embed></object>
<p>I&#8217;ll be posting more about this talk shortly.</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/wordpress-as-a-cms-talk-at-the-whuffie-club/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Backups for startups and small companies</title>
		<link>http://mark-kirby.co.uk/2008/backups-for-startups-and-small-companies/</link>
		<comments>http://mark-kirby.co.uk/2008/backups-for-startups-and-small-companies/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 17:44:48 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=227</guid>
		<description><![CDATA[Backup suggestions for small companies who work off laptops, and in an office.]]></description>
			<content:encoded><![CDATA[<p>Do you run a small company who work in an office, but off laptops?</p>
<p>Here&#8217;s a typical situation you might encounter:</p>
<ul>
<li>You have 2 - 10 staff</li>
<li>Everyone has a laptop which they take home each day</li>
<li>Staff may work away from the office</li>
<li>You want everyone&#8217;s work to be backed up in a reliable way, in case of a crash</li>
<li>You want backups to be stored away from the laptops, in case of a disaster</li>
<li>You want a solution that can grow with the company, so more space can be added as staff grow</li>
</ul>
<h2>Possible solutions:</h2>
<p>I&#8217;ve considered the following in each option:</p>
<h3>Backup to external media, carried with the laptop</h3>
<p>This solution requires each employee to carry an external hard drive of some kind around alongside the laptop. They can then run a regular backup using a variety of tools, from wherever they are.</p>
<ul>
<li>Cost: around £60 per person for an 80GB portable hard drive - one off&#8230;1 point</li>
<li>Protection level: protects against a crash only&#8230;0 points</li>
<li>Backup Speed: fast&#8230;1 point</li>
<li>Central store: none&#8230;0 points</li>
<li>Convenience: inconvenient, the drive must be carried around with the laptop&#8230;0 points</li>
<li>Flexibility: highly flexible - you just buy a new drive when new people arrive&#8230;1 point</li>
<li>Security: protect the media with a strong password, else the data could be taken&#8230;0.5 points</li>
<li>Ease of use: you have to carry an external drive everywhere, and remember it&#8230;0 points</li>
<li>In house management: none&#8230;1 point</li>
</ul>
<p>Score - 4.5/8</p>
<h3>Backup to central media</h3>
<p>Keep a large hard drive in the office, which can be connected to over the network. This could be a central server. Employees back up to a space on the disk when they are in the office.</p>
<ul>
<li>Cost: £1000 to £2000 for a 2TB-3TB external networkable hard drive or computer, one off cost&#8230;1 point</li>
<li>Protection level: protects against a disaster only, and then only if the laptops are out of the office if a disaster occurs in the office (e.g. you go to lunch, someone steals all laptops and the backups)&#8230;0 points</li>
<li>Backup Speed: fast&#8230;1 point</li>
<li>Central store: Yes&#8230;1 point</li>
<li>Convenience: its simple to do run the backups when in the office&#8230;1 points</li>
<li>Flexibility: not overly flexible, if you run out of space you need an additional drive which splits your data, or a new one&#8230;0 points</li>
<li>Security: protect the media with a strong password, else the data could be taken&#8230;0.5 points</li>
<li>In house management: lots&#8230;0 points</li>
</ul>
<p>Score - Cheap, fast, provides a central store but only protects against disaster, inflexible and inconvenient - 4.5/8</p>
<p>Notes -</p>
<ul>
<li>You should do an occasional backup onto external media which can be removed from the office using this method, thus protecting against disaster when the laptops are alongside the backup drive</li>
</ul>
<h3>Backup to external media at home, central media in the office</h3>
<p>Give everyone their own drive which they keep with them when working from home or in other locations. When they are in the office, they use the central backup. Suggest they run a backup at home at least once a week, even if they are only working from the office that week.</p>
<ul>
<li>Cost: £1000 to £2000 for a 2TB-3TB external networkable hard drive or computer, one off cost + around £60 per staff member&#8230;1 point</li>
<li>Protection level: protects against a disaster and a crash, as there is a backup stored in two places, one of which is bound to be away from the laptop&#8230;1 point</li>
<li>Backup Speed: fast&#8230;1 point</li>
<li>Central store: office backup provides the central store&#8230;1 point</li>
<li>Convenience: You have to remember to back up at home, at work it should be simple&#8230;0.5 points</li>
<li>Flexibility: inherits the poor flexibility of the central media, and the good flexibility of the individual media&#8230;0.5 points</li>
<li>Security: protect the media with a strong password, else the data could be taken&#8230;0.5 points</li>
<li>In house management: lots&#8230;0 points</li>
</ul>
<p>Score - 5.5/8</p>
<h3>Online backup service</h3>
<p>Everyone backs up over the internet using one of a number of remote backup services.</p>
<ul>
<li>Cost: £1500 per year for 200GB with up to 100 staff with <a href="http://www.ibackup.com/charginghelp_new.htm">iBackup</a>&#8230;0 points</li>
<li>Protection level: protects against a disaster, a crash, and the backups are protected and themselves backed up if you pick a reliable provider&#8230;1 point</li>
<li>Backup Speed: slow at first - the initial backup could take many hours - but then not so bad&#8230;0.5 points</li>
<li>Central store: provided&#8230;1 point</li>
<li>Convenience: you have to have internet access to backup&#8230;0 points if you aren&#8217;t always online, 1 if you are, 0.5 if it varies!</li>
<li>Flexibility: very flexible, you just add space to your package as you grow&#8230;1 point</li>
<li>Security: you best trust whoever you let have your data, they could lose your data, have it taken from them, or worst still - use your data!&#8230;0 points (unless you trust the company - then 1 point)</li>
<li>In house management: none&#8230;1 point</li>
</ul>
<p>Score - 4.5/8 to 6.5/8 depending on your situation</p>
<h2>Summary</h2>
<p>If you can find a secure company you can trust, can afford it and are online most of the time, then the online backup service will be the one, its easiest to manage, and provides great protection against a number of cirumstances. Since the initial cost is low, you could trial this.</p>
<p>If the online backup isn&#8217;t for you, then the hard drive at home/central store in the office should be your next choice. It provides a similar level of protection, but if you find yourself working from home for a long time you won&#8217;t be protected against disaster and might want to try an ad-hoc online solution such as saving some of the data on a private file server or opening up the networked hard drive to external connections.</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/backups-for-startups-and-small-companies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>5 good practices for small software companies</title>
		<link>http://mark-kirby.co.uk/2008/5-good-practices-for-small-software-companies/</link>
		<comments>http://mark-kirby.co.uk/2008/5-good-practices-for-small-software-companies/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 18:21:22 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=225</guid>
		<description><![CDATA[Over the last 3 years I introduced some essential processes and practices to the small organisation I worked for. Any small company involved with software development would benefit from these, and although they are all very obvious I wanted to list them here to provide a checklist for anyone rethinking the way they work.
In no [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last 3 years I introduced some essential processes and practices to the small organisation I worked for. Any small company involved with software development would benefit from these, and although they are all very obvious I wanted to list them here to provide a checklist for anyone rethinking the way they work.</p>
<p>In no particular order the areas I&#8217;m going to look at are:</p>
<ul>
<li>Shared files</li>
<li>Version control for code</li>
<li>Regular secure backups</li>
<li>An online documentation system</li>
<li>An inventory of equipment and software</li>
</ul>
<p>In more detail:</p>
<h2>Share files centrally</h2>
<p>If there is more than one employee, having access to a central location allowing you to store files such as text docs and spreadsheets to be accessed by one or more people is essential. It saves you emailing back and forth, and allows you to work on files together - if you choose carefully.</p>
<p>There are a number of ways you could achieve a shared file system:</p>
<ul>
<li>Google docs - this allows you to work online, work on documents together, and keep local copies using google gears, ideal if you work away from the office often and takes care of backups, not so good if you&#8217;re unahappy about google having control of your documents</li>
<li>Another online document alternative, there are a quite few out there although I haven&#8217;t used them so can&#8217;t advise</li>
<li>A server you connect your PC&#8217;s or Mac&#8217;s to, you could use a Mac for this (they allow up to 10 people to connect and save and retrieve files from), or a PC with sharing enabled, or set up a Linux box.</li>
</ul>
<p>If you decide to go down the google route, consider using <a href="http://www.google.com/apps/business/index.html">google apps</a> - this will take care of your email, shared docs and calendar, and lets you use your company site address to log in and as your email address.</p>
<h2>Version control for code</h2>
<p>Ensure you are coding with version control. This provides you with a place to store your code, allows more than one person to work on the same piece of code, and lets you save the code in a central location, enabling backup (offsite if you use another provider).</p>
<p>Options include <a href="http://subversion.tigris.org/">Subversion</a>, CVS (now rather outdated) and <a href="http://git.or.cz/">Git</a> (new kid on the block). I use tried and tested Subversion.</p>
<p>Hosting options include:</p>
<ul>
<li>Setting up a repository (the place the code is stored) on a machine in the office - this requires installation and doesn&#8217;t automatically mean offsite backup, plus you probably need to be in the office to use the system</li>
<li>Using a hosted alternative, allowing access from anywhere and ensuring off site backup - I use <a href="http://www.webfaction.com?affiliate=mkirby">webfaction</a> who provide SVN hosting at a low price</li>
</ul>
<h2>Regular secure backups</h2>
<p>Everyone in the office needs to ensure their work is being backed up properly. I recommend as a minimum a daily backup of all files, this can be kept onsite, and a weekly backup which is kept off site. Addtionally its a good idea to make a monthly copy of your entire hard disk to allow a quick restore including all settings and software.</p>
<p>There is plenty of software available to help you achieve this, all you need is some external storage. I&#8217;ll go into more detail on available options and provide some recommendations over the coming weeks.</p>
<p>Ensure the following:</p>
<ul>
<li>Your backups are secure - this means if someone finds them, they can&#8217;t access the files</li>
<li>Your backups are not next to your computer - they should be in another location entirely, so that in case of a fire, the files are not lost. As mentioned I keep a weekly backup away from my office.</li>
<li>You have a good restore plan, and have tested it, i.e. how will you get the files back once they have gone.</li>
</ul>
<h2>An online documentation system</h2>
<p>As you or your staff code, you will make discoveries, learn new stuff and come up with best practices and methods of doing things. It is key that you write these down, and store them somewhere everyone else in the office can access. This way, if you or someone else leaves the company, everyone still has access to that knowledge.</p>
<p>Stuff to put in your system includes:</p>
<ul>
<li>Code snippets</li>
<li>Best practices for coding (naming conventions, bracing guidelines and other general stuff)</li>
<li>Tutorials and how-to&#8217;s that members of the team write as they learn something new</li>
<li>Documentation for the actual software the team creates (optional - you might want or need to keep this seperately)</li>
</ul>
<p>Options for setting up such a system:</p>
<ul>
<li>Use a CMS tool such as Wordpress (its come a long way from being just a blogging platform), using plugins to ensure the code snippets play nice</li>
<li>A wiki (can be better for team editing, but also sometimes harder to set up and get working as you want it)</li>
<li>Lots of documents, such as google docs - this will be hard to navigate though, but quicker to set up</li>
</ul>
<p>Again, I&#8217;ll go into more detail on this over the next few weeks.</p>
<h2>An inventory</h2>
<p>When purchasing new equipment and software its important to record model details, serial numbers, copies of the software and all the info you will need to claim on insurance or reinstall software in case something goes wrong. These details must be very secure, and probably not kept online.</p>
<p>You might also keep usernames and passwords here - although I would recommend passwords be kept in the head to be totally secure. When signing up for accounts such as google analytics, amazon etc that everyone should have access to its useful to either use a clearly defined username or record the name you picked.</p>
<h2>Conclusions</h2>
<p>Although this article has been rather rushed, I hope you can get a good idea of how to ensure your company is stable and secure from a software perspective. I&#8217;m going to think about each of these in more detail over the coming weeks and hope to provide more advice.</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/5-good-practices-for-small-software-companies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Timeboxing</title>
		<link>http://mark-kirby.co.uk/2008/timeboxing/</link>
		<comments>http://mark-kirby.co.uk/2008/timeboxing/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 12:04:36 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[post]]></category>

		<category><![CDATA[agile]]></category>

		<category><![CDATA[lifehack]]></category>

		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=223</guid>
		<description><![CDATA[Over the past few weeks I&#8217;ve been trying to implement timeboxing, an agile technique, wherever possible. I&#8217;ve started to find myself becoming much more productive.
Timeboxing is where you set yourself a time limit on a specific activity. For example, you decide to spend an hour on adding twitter to your blog using an API, when [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few weeks I&#8217;ve been trying to implement timeboxing, an agile technique, wherever possible. I&#8217;ve started to find myself becoming much more productive.</p>
<p>Timeboxing is where you set yourself a time limit on a specific activity. For example, you decide to spend an hour on adding twitter to your blog using an API, when the hour is up you must stop and do something else. If you didn&#8217;t finish the task it might be because it will take much longer, and you need to reconsider wether its worth doing or allocate more time to the task. You might have been close to finishing, thats fine - allocate more time at a later date.</p>
<p>Timeboxing is especially useful when applied to programming, where you can end up wasting an hour or two trying so solve a problem that would be better off left for a few hours. It forces you to focus on the most important stuff first, and ensures you get &#8217;something&#8217; done in that period.</p>
<p>Timeboxing in software development also cuts down on the amount of time spent &#8216;polishing&#8217;, this very blog shows that off well - I allocated myself 3 hours to do the template, no time left for any polish, but the blog is live and works. Perhaps I will allocate myself time to polish at a later date.</p>
<p>Timeboxing can also be applied to other areas of your life, its amazing how much tidying and cleaning can get done if you only have 20 mins to do it in.</p>
<p>I&#8217;ve only just started timeboxing, so I&#8217;ll give an update in a few months once its become one of my core lifehacks.</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/timeboxing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New job and a new site</title>
		<link>http://mark-kirby.co.uk/2008/new-job-and-a-new-site/</link>
		<comments>http://mark-kirby.co.uk/2008/new-job-and-a-new-site/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 17:48:41 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=222</guid>
		<description><![CDATA[I&#8217;ve just relaunched my blog with a simple clean design, and some very basic features. Over the next few months I hope to add more bits and bobs, to enable this to be a portal connecting all the services I use. Perhaps Flickr integration, delicious links, and some other stuff. For now it doesn&#8217;t matter [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just relaunched my blog with a simple clean design, and some very basic features. Over the next few months I hope to add more bits and bobs, to enable this to be a portal connecting all the services I use. Perhaps Flickr integration, delicious links, and some other stuff. For now it doesn&#8217;t matter - all I want is a place to put some tutorials, and a few notes. The site isn&#8217;t finished, but it is usable - release early, release often is my moto.</p>
<p>One of the reasons for the new blog is my new job at <a href="http://www.ribot.co.uk/">Ribot</a>, where I will be their first full time developer. They specialise in mobile, and its a new field for me, so I expect to be very busy over the coming weeks, hence getting some stuff out of the way such as this blog relaunch. Looking forward to lots of hard work and fun with the Ribot guys!</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/new-job-and-a-new-site/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Internet Explorer for mac</title>
		<link>http://mark-kirby.co.uk/2008/internet-explorer-for-mac/</link>
		<comments>http://mark-kirby.co.uk/2008/internet-explorer-for-mac/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 16:17:47 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[post]]></category>

		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.mark-kirby.co.uk/?p=176</guid>
		<description><![CDATA[This is interesting - a software letting you run IE 5, 5.5., 6 and 7 (beta) on your Mac without needing parallels. This could be great for testing.
Its called ies4osx and requires OSX tiger or leopard, and an Intel machine. On tiger you need have to installed X11.
Download it here.
I found the download process pretty [...]]]></description>
			<content:encoded><![CDATA[<p>This is interesting - a software letting you run IE 5, 5.5., 6 and 7 (beta) on your Mac without needing parallels. This could be great for testing.</p>
<p>Its called <a href="http://www.kronenberg.org/ies4osx/">ies4osx</a> and requires OSX tiger or leopard, and an Intel machine. On tiger you need have to installed X11.</p>
<p><a href="http://www.kronenberg.org/ies4osx/">Download it here.</a></p>
<p>I found the download process pretty simple, a few things to do, but nothing too time consuming.</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/internet-explorer-for-mac/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Musings on why I haven&#8217;t got a bespoke theme on my own site yet</title>
		<link>http://mark-kirby.co.uk/2008/musings-on-why-i-havent-got-a-bespoke-theme-on-my-own-site-yet/</link>
		<comments>http://mark-kirby.co.uk/2008/musings-on-why-i-havent-got-a-bespoke-theme-on-my-own-site-yet/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 12:53:35 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=221</guid>
		<description><![CDATA[I&#8217;ve had a number of comments recently about my blog, and the fact it uses the default Kubrick theme, when I am currently selling my Wordpress theming services. I thought I&#8217;d add this post to explain my rationale.
The main reason is I&#8217;ve only been freelancing for a short time, and have found myself rather busy, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a number of comments recently about my blog, and the fact it uses the default Kubrick theme, when I am currently selling my Wordpress theming services. I thought I&#8217;d add this post to explain my rationale.</p>
<p>The main reason is I&#8217;ve only been freelancing for a short time, and have found myself rather busy, so rest assured its on my todo list.</p>
<p>Some people have suggested I install someone else&#8217;s theme - but I think its important to go with the right theme, so that would take time to select. I also think people would expect to see a theme I had developed, so that might well be time wasted.</p>
<p>If you are interested in the kind of thing that can be achieved with Wordpress theming, take a look at <a href="http://www.handsonphysiotherapy.co.uk">handsonphysiotherapy.co.uk</a> - a simple site I built without a blog element, using Wordpress as its back end. In the next few weeks I&#8217;ll be putting a portfolio together to show some of the other Wordpress integrations I&#8217;ve been working on, and I&#8217;ll be giving a talk on how to theme Wordpress to manage a simple site at <a href="http://thewerks.org.uk/">The Werks</a> on July 24th, so come along and find out more.</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/musings-on-why-i-havent-got-a-bespoke-theme-on-my-own-site-yet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to install wordpress using ssh and svn</title>
		<link>http://mark-kirby.co.uk/2008/how-to-install-wordpress-using-ssh-and-svn/</link>
		<comments>http://mark-kirby.co.uk/2008/how-to-install-wordpress-using-ssh-and-svn/#comments</comments>
		<pubDate>Fri, 23 May 2008 11:08:17 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=219</guid>
		<description><![CDATA[How to install wordpress on a remote server that has ssh access, or on your own local machine, using svn. 

This will enable you to install Wordpress with a single line of code and update Wordpress with a single line of code, from then on.
]]></description>
			<content:encoded><![CDATA[<p>This tutorial will allow you to install wordpress on a remote server that has ssh access, or on your own local machine, using svn. This will allow you to do the following:</p>
<ul>
<li>install Wordpress with a single line of code</li>
<li>update Wordpress with a single line of code, from then on</li>
</ul>
<p>This could save you hours of work if you manage several wordpress sites and don&#8217;t use WordpressMU.</p>
<h2>What you will need</h2>
<p>If you are installing this on a mac, and you have <a href="http://mark-kirby.co.uk/2007/set-up-php-5-apache-2-and-mysql-5-on-os-x-leopard/">set up a webserver</a> you are ready to go!</p>
<p>If you are are installing this on windows you will need to <a href="http://subversion.tigris.org/project_packages.html#binary-packages">install svn on windows</a> first. Seek out the Win32 package. You will also need a webserver - you can follow my post on how to <a href="http://http://mark-kirby.co.uk/2008/how-to-create-a-local-copy-of-a-wordpress-site/">install wordpress on a local machine</a> to figure that one out.</p>
<p>If you are installing this on a remote server, perhaps your webhost, you will need ssh access.</p>
<p>If you understand everything so far, your going to find the next step very easy. If not, you should probably read my <a href="http://mark-kirby.co.uk/2008/how-to-set-up-and-use-subversion-svn-on-os-x-leopard/">post on SVN</a> first. Then read on.</p>
<h2>Step 1 - Getting to the place you want to install Wordpress</h2>
<p>Firstly you need to get to the position on your server, be it on Windows, Mac or a remote server, where you want to install your Wordpress software. Once you reach that point, its the same wherever you are.</p>
<h3>On WIndows</h3>
<p>Go to start -&gt; click Run type &#8216;cmd&#8217; and click  OK - this loads up the command line.</p>
<p>Figure out where you want the wordpress installation to go, on my machine I use WAMP so for me its C:\wamp\www</p>
<p>Type the following into the command line window (and press enter after):</p>
<pre>cd C:\wamp\www</pre>
<p>Where &#8216;C:\wamp\www&#8217; is the path you want to use.</p>
<p>Type:</p>
<pre>mkdir directoryname</pre>
<p>Where directoryname is the name of the folder you want the Wordpress installation to go into.</p>
<p>Type:</p>
<pre>cd directoryname</pre>
<p>Where directoryname is the name of the folder you just created.</p>
<p>You&#8217;re ready for step 2.</p>
<h3>On Mac</h3>
<p>Open up terminal</p>
<p>Figure out where you want the wordpress installation to go, I use my Sites folder.</p>
<p>Type the following into terminal:</p>
<pre>cd Sites</pre>
<p>Where &#8216;Sites&#8217; is the path you want to use.</p>
<p>Type:</p>
<pre>mkdir directoryname</pre>
<p>Where directoryname is the name of the folder you want the Wordpress installation to go into.</p>
<p>Type:</p>
<pre>cd directoryname</pre>
<p>Where directoryname is the name of the folder you just created.</p>
<p>You&#8217;re ready for step 2.</p>
<h3>On a remote server</h3>
<p>You will need the following details:</p>
<ul>
<li>Your ssh username</li>
<li>Your ssh password</li>
<li>Your IP Address</li>
</ul>
<p>You may need to ask your host for some of these details, and they may not give them to you either.</p>
<h4>Connecting to your host using Windows</h4>
<p>First <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">install PuTTY</a> (go for the installation that just says PuTTY) and start the software.</p>
<p>Under Host name or IP address, enter the host name or IP address of your web server.</p>
<p>Once connected, enter your login name.</p>
<p>Then enter the password.</p>
<p>Skip the Mac section and continue.</p>
<h4>Connecting to your host using a mac</h4>
<p>Log in to your remote server using the command</p>
<pre>ssh username@192.168.0.100</pre>
<p>Where username is the username you have that allows ssh access, and 192.168.0.100 is the IP address of the server you want to log in to.</p>
<h4>Navigating to your folder</h4>
<p>ow navigate to the folder you want to install wordpress in.</p>
<pre>cd /username/www</pre>
<p>Where &#8216;/username/www&#8217; is the path to the place where your websites are all stored on your remote server.</p>
<p>Type:</p>
<pre>mkdir directoryname</pre>
<p>Where directoryname is the name of the folder you want the Wordpress installation to go into if that doesn&#8217;t work you may need to use your hosts control panel to make the folder and then continue.</p>
<p>Type:</p>
<pre>cd directoryname</pre>
<p>Where directoryname is the name of the folder you just created.</p>
<p>Now move on to step 2.</p>
<h2>Step 2 - Install Wordpress</h2>
<p>First you need to select your version, I would always go for the latest, but what is that?</p>
<p>Go to this website - <a href="http://svn.automattic.com/wordpress/tags/">http://svn.automattic.com/wordpress/tags/</a> thats the Subversion repository (if you don&#8217;t understand what that means don&#8217;t worry). Scroll down to find the latest version at the bottom of the page.</p>
<p>Bearing in mind the version you want, enter the following into your command line window:<br id="hb4q" /></p>
<p><code id="dnhd">svn co http://svn.automattic.com/wordpress/tags/2.5.1/ .</code></p>
<p>Where 2.5.1 is the version you want to use.</p>
<p>Set up a database, set up your wp-config as normal and your ready to go!</p>
<h2>Step 3 - Update Wordpress using SVN</h2>
<p>Updates are much easier now. Updating with SVN will ensure no folders are overwritten and any unused files are removed.</p>
<p>Do a backup first to be on the safe side, and wake sure your database is backed up.</p>
<p>Using the instructions above in step 1, navigate to the folder containing your Wordpress installation.</p>
<p>Once you are inside the folder, enter the following:</p>
<p><code id="dnhd">svn sw http://svn.automattic.com/wordpress/tags/2.5.2/ .</code></p>
<p>Where 2.5.2 is the version you want to update to.</p>
<p>You&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/how-to-install-wordpress-using-ssh-and-svn/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to create a local copy of a wordpress site</title>
		<link>http://mark-kirby.co.uk/2008/how-to-create-a-local-copy-of-a-wordpress-site/</link>
		<comments>http://mark-kirby.co.uk/2008/how-to-create-a-local-copy-of-a-wordpress-site/#comments</comments>
		<pubDate>Mon, 12 May 2008 16:50:31 +0000</pubDate>
		<dc:creator>kirby.mark</dc:creator>
		
		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=218</guid>
		<description><![CDATA[This article explains how you set up a copy of a Wordpress site on your computer.  This can be very useful if you need to find out what will happen if you do an upgrade, for testing out and playing with plug ins, and for developing Wordpress themes.
This article is aimed at PC owners. [...]]]></description>
			<content:encoded><![CDATA[<p>This article explains how you set up a copy of a Wordpress site on your computer.  This can be very useful if you need to find out what will happen if you do an upgrade, for testing out and playing with plug ins, and for developing Wordpress themes.</p>
<p>This article is aimed at PC owners. I use both PC and Mac, and this time I had to do this task on my PC. The principles can also be applied to a Mac, and I have already written a group of articles for Mac which will be linked to from this article that achieve the same results.</p>
<p>We&#8217;ll be going through the following steps:</p>
<ul>
<li>Installing PHP, MySQL and Apache on a PC to form the &#8216;local host&#8217;</li>
<li>Copying the Wordpress install over from your remote host</li>
<li>Copying the database</li>
</ul>
<p>Here we go&#8230;</p>
<h2>Installing PHP, MySQL and Apache</h2>
<h3>Mac users</h3>
<p>Go to my tutorial on <a href="http://mark-kirby.co.uk/2007/set-up-php-5-apache-2-and-mysql-5-on-os-x-leopard/">setting up PHP, MySQL and Apache on a Mac</a>.</p>
<h3>PC users</h3>
<p>There are many packages available that allow a one click installation of PHP, MySQL and Apache on a PC. I looked at a few and settled for <a href="http://www.en.wampserver.com/">WAMP</a>, as its kept up to date, is relatively lightweight and easy to use.</p>
<ol>
<li>Start by <a href="http://www.en.wampserver.com/download.php">downloading WAMP</a>.</li>
<li>Run through the installation, accepting the defaults.</li>
<li>You should now see a new icon in your taskbar - that&#8217;s WAMP! If you don&#8217;t see it, just start the software by clicking on the icon, or locating it in your programs.</li>
<li>Start your webserver by left clicking on the icon in the taskbar, and selecting Start All Services. Nothing will happen - the services run behind the scenes.</li>
<li>Open a browser and go to <a href="http://www.en.wampserver.com/download.php">http://localhost/</a>, if you see the WampServer homepage then you&#8217;re ready to start setting up wordpress.</li>
</ol>
<h2>Copying the Wordpress install over from your remote host</h2>
<p>Next you are going to download Wordpress from your remote host and set it up as a local site.</p>
<ol>
<li>Using your preferred FTP client (I use the excellent free <a href="http://filezilla-project.org/">filezilla</a>) download all the files in and including the folder associated with your Wordpress install. If your Wordpress is in a folder called &#8216;wordpress&#8217;, you need to download the whole folder.</li>
<li>Place the downloaded folder into the WAMP folder www. This is where all files to be run on the webserver need to be placed. This can be found by clicking the WAMP icon and selecting the &#8216;www&#8217; directory option. Its also in C:/wamp/www</li>
<li>Once the downloads are complete, go to http://localhost/the_name_of_your_wordpress_folder, you should see a database error. If you do, its all worked! If you see a server error, its likely to be your .htaccess file - try removing it temporarily.</li>
</ol>
<h2>Copying the database</h2>
<p>Now you need to get all the tables associated with Wordpress out of the remote server, and onto the local server. You&#8217;ll probably need to use PHP MyAdmin, which most hosts include by default. If this isn&#8217;t available and your using a version of Wordpress which is later than 2.0.3 you can try the <a href="http://www.ilfilosofo.com/blog/wp-db-backup/">wordpress db backup plugin</a>.</p>
<ol>
<li>Log in to PhpMyAdmin</li>
<li>Select the database containing your Wordpress tables, note down its name</li>
<li>Select the Export Option</li>
<li>Select all the tables related to this Wordpress installation</li>
<li>Ensure you download as SQL, check the Data box, so all data is downloaded - complete and extended inserts. Check the box so you save as file and select no compression (it sometimes goes wrong).</li>
</ol>
<p>Next you need to import this data into phpMyAdmin on your local WAMP server.</p>
<ol>
<li>Start PhpMyAdmin by clicking on the WAMP icon and selecting the option phpMyAdmin</li>
<li>On the homepage there is an option called &#8216;Create New Database&#8217;, enter the name of the database from your remote server and click create.</li>
<li>Click on your newly created database in the left hand column.</li>
<li>Click import and browse to your downloaded file</li>
<li>Click &#8216;go&#8217; and all the data should be imported</li>
<li>If you have problems with the size of your datafile, there are other methods - send me a mail, or add a comment and I&#8217;ll go into them. At the moment I&#8217;m trying to keep this document as simple as I can.</li>
</ol>
<p>Next you need to set up the same username and password on this local database as is used on your remote database. You will have used these to log in to phpMyAdmin on your remote server, they are also in your wp_config file.</p>
<ol>
<li>Go to the homepage of the local phpMyAdmin and select &#8216;Privileges&#8217;</li>
<li>Click the add a new user option</li>
<li>Under username enter the username from the remote host, under host select localhost, under password and re-type enter the password from the remote host. Under privileges check all. Click go.</li>
</ol>
<p>A note on user permissions - I had some issues with the host type - basically, in the wp-config file you need to check the DB_HOST entry. If the host is &#8216;localhost&#8217; the user in the local mySQL should be set to host - localhost. If the host is &#8216;127.0.0.1&#8242; the user should be set to host - any.</p>
<p>Finally, you need to change a couple of fields inside the wordpress database to ensure the correct web address is used.</p>
<ol>
<li>Go to the local phpMyAdmin</li>
<li>Select the database containing wordpress</li>
<li>Select the table wp_options</li>
<li>Select browse</li>
<li>Locate the option &#8217;siteurl&#8217; and edit it so the option_value becomes http://localhost/local_folder_name</li>
<li>Locate the option &#8216;home&#8217; and edit it so the option_value becomes http://localhost/local_folder_name (this might be on the second page of database fields).</li>
</ol>
<p>And you should now be done check http://localhost/local_folder_name.</p>
<h2>Whats Next</h2>
<p>Keep an eye out for many more Wordpress tutorials over the coming weeks. I&#8217;m currently freelancing and am working on a bunch of Wordpress sites for various people, as well as working on some open source themes, premium themes and plug-ins. Email me if you need any assistance - kirby [dot] mark [at] gmail [dot] com.</p>
]]></content:encoded>
			<wfw:commentRss>http://mark-kirby.co.uk/2008/how-to-create-a-local-copy-of-a-wordpress-site/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
