Archive for October, 2008

Without Time – Dropping Clients

As quite a few of you have noticed I haven’t been able to get any new work or scripts out lately. I’ve also have not been taking on any new clients for awhile because I don’t have any time! I’m actually at the point where I’m about to fire a few of my remaining clients in order to free up time! Crazy.

Projects that need to be finished, in random order:

  1. WordPress MU based Community for Anonymous Bloggers
  2. Modified ZenPhoto system that hosts multiple galleries for the above system through one install. (Think of it as ZenPhoto MU.)
  3. Laconica web based installer script. This one bothers me because I’m so close yet having been getting any time to complete it.
  4. Re-organization of GimmeSoda Blog
  5. Re-organization of Black Falcon Solutions and automating a few more tasks for client billing

Laconica Web-Based Installer

UPDATE:

I couldn’t sleep again, so I finally got around to getting a very very very badly done but working version of the web based installer finished. Grab a copy of the file below – throw it up wherever you want to install laconica and fill in the info. This should get the majority of people who meet the minimum requirements up with a very basic install.

The Installer

END UPDATE – Everything below is old news!

I was a little bored this morning (AKA “I Couldn’t Sleep Again”) and ended up starting work on a web based installer for laconica. This is something which is currently sorely lacking from the software and would make the lives of many people who are trying to get this working much easier (not just for those users on dreamhost like my shell script).

Anyhow I got as far as checking for all the system requirements, php modules, apache version (I’m trying to find a way to check for modules on all environments not just mod_php so I can test for mod_rewrite), and a check to see if the laconica files have been uploaded if not then it downloads the laconica tar ball (if Evan is reading… it’d be nice if there was a laconica-latest.tar.gz!).

I should get a decent bit further tomorrow or the day after, it’ll be nice to have a web based installer. You can see the current (very ugly looking and horribly coded script) in action here:

http://laconica.gimmesoda.com/install.php

Alright, enough talk – sleeping time!

*** Update ***

I did quite a bit of work on this (dead tired now). I’ve now completed testing for what I believe to be every requirement needed by Laconica, except for the external libraries as those should come with the package! I’m hoping soon, since this installer won’t really be able to pull off a complete install without them.

I have worked out the logic (very very messy) for the whole archive issue, so if your host allows you to use the ‘exec’ function and the ‘tar’ binary can be found on your server using the ‘which’ command then you’re in luck. The install will automatically do the following:

1) Detect that laconica files don’t exist yet
2) Download the archive
3) Extract the files
4) Move the extracted files to the working directory
5) Test to make sure the files were moved correctly

The installer will also test for your mysql version (even for those not using localhost) since it will connect to and query the server you will be using there is no confusion as to what version of MySQL you are really using. Finally – and this is the last thing I worked out, the installer will also check to see if the InnoDB storage engine is installed.

So, it’s definitely coming along, I should have something working very soon now.

http://laconica.gimmesoda.com/install.php

Of course I just dedicated a good four hours of what should have been my sleep to this and I do work tomorrow… or ummm later today… so off to sleep I go, with any luck the baby girl won’t wake up in an hour… like usual!

For anyone interested in the core logic for the laconica installer I’ve copied the current code to this:

http://laconica.gimmesoda.com/installer_class.txt

And no complaining! I did warn you all that it would be ugly, but overall it seems to be working decently atleast in my testing. I’ll release the whole installer package when I get the installer working on my end, but for now you can atleast see the functions I used to perform my testing.

*** Another Update ***

More code cleanup + the initial release of code – still doesn’t complete the install but it gives you an idea how I’m doing this so far and I’m definitely going to need people to look it over. Continues to be an ugly duckling.

GimmeInstaller Alpha