I have a main development blog at Back of a beer mat but I want to keep that more professional that this my rant blog.

I want to rant about how simple it is to set up the dev environment for the site.
I mean even my mum could have done it.

Firstly I needed to download MediaWiki that powers the community section of the site.
Then I needed to download the Mac OS X version of MySql the database backend that powers MediaWiki.

I have installed MySql before on openBSD and it was a pain.
Granted, openBSD is a secure operating system with lots of security features that make installing stuff slightly more complex, but I have tried installing Postgresql on Mac OS X, which was likewise a pain with a custom user setup etc., and expected more of the same for MySql.

Likewise I had set up MediaWiki on the site and found that it took a while [Althought this is likely because of having to use FTP as I don’t have CLI access to my host].

How wrong I was. And I should have known. After all I was doing all this on Mac OS X!
The way to set up the dev env for was the following

  1. Open the MySql disk image and double click the package installer.
  2. Follow the simple on-screen instructions to install MySql
  3. Double click the config panel in the MySql disk image and select yes to install it.
  4. When the config panel for MySql comes up select the option to start on a restart
  5. Expand the MediaWiki tarball
  6. Move the expanded MedkiaWiki wiki directory, and its contents, into your ~/sites directory
  7. In a browser goto http://localhost/~username/wiki/config/, where username is your Mac OS X login name
  8. Follow the simple on-screen instructions for installing MediaWiki and click OK


Wasn’t that simple?

Now with a dev environment set up I can move on to the more intricate and complex part of actually developing the community!

2 thoughts on “Developing

  1. Natalia Gorbski says:

    export PKG_PATH=
    pkg_add mysql-5.0.19.tgz

    What’s hard?


  2. Keitaro says:

    Installing the package into the OS was not tht difficult, but getting it up and running with Apache was a pain. [At least a couple of years ago when I last tried]

    I can’t remember the details off-hand, it was a while ago, but I remember having to DISABLE some of the much praised security features just so my webserver could access my My-Sql instance, and also before I could even create custom DB users.

    Maybe this is all different now. But it is experiences like this that turn people on to easier-to-administrate OS’s like OS X.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s