I didn’t have a chance to post on Friday, but I was able to install a local version of Python 2.7. I unzipped the most recent release, ran the configure command with the prefix set to my $Home\local directory. I had to create the local directory. I ran the “make” and “make install” commands. This installed to the folder and created the python directory downstream. The upgrade is supposed to be better for performance, but more importantly, I now have my own site_packages folder for installing modules. Time will tell if I can hook cgi up to this installation over the default installation.
Monthly Archives: July 2012
SSH Access
So, step one is complete. I have console access to my host environment. Blue host does not have a cool wizard for Django setup, but the user forums have some good posts on this. I will have to do some command line installs and chmods to make it work. Blue host does allow SSH access, but I did not have a client for Windows 7. I am a bit surprised Windows doesn’t build this in, and the field of third party candidates is pretty sketchy. I have some experience with putty, but all the links I find are XP related. I wasn’t sure it still worked on Windows 7. Then there is Bitvise Tunnelier. That doesn’t sound like anything I would want to willingly install (Worms tunnel don’t they?), but my brother-in-law had used it before. I decided to give them a try, and so far, it looks good. I was even able to get a Python command prompt. I was glad python was already installed, but saddened to see it was version 2.6.6. I have been playing with 2.7 at home. I am not sure if I can upgrade this on my partition or not.
Themes
I don’t want to get too carried away with WordPress. My main goal on Blue Host is to learn Django web development, but this theme did remind me of one of my early research efforts. When trying to learn how to install the Python connector to MySQL on Windows 7, I was lead to a blog with detailed instructions. That programmer had this same theme (twenty eleven). At the time, I thought it looked really good and didn’t know it was a canned theme. Imagine my surprise when my blog came out of the box looking exactly the same. Common though it may be, the theme is simple and pleasant. I may keep it for while.
I should mention, that I decided against MySQL in the end. Some of the documentation is very unfriendly to people who work on Windows machines. The connector I mention above does not have a windows installer. Following the blog instructions, I was able to install it at work. but my home computer may have been at a different patch level, because it didn’t take. I also had some trouble with MySQL on my home computer.
As a result, I may go with PostGreSQL for the back end. Their python connector has a windows installer. Early on, I may just use the SQLLite that ships with Django. Once all the URL routing is working, I’ll experiment with a beefier database.
My Hello World
Word press starts up with a Hello World, but this is my first test adding a post from the admin console.