Monthly Archive for October, 2009

Works in Progress

It’s no secret that strategizing, designing, implementing an online presence for one’s self is about a gazillion times more difficult than for clients, even for those who strategize, design, and dream-implement in their sleep. A few weeks ago, Comrade’s site went live, and taking a proper modern web approach, it is constantly growing and evolving.

While it’s always advantageous to understand more about a client and spend some time with them to get a proper feel for their industry, doing a project for one’s own brand involves taking a step back. We live and breathe what we do everyday, how do we abstract ourselves so that others can understand us. I admit that these are the same challenges that I felt over the years as rosemarylong.com (nee rosemarysanchez.com) constantly felt like an unfinished project.

Luckily, having driven team members with strong vision and a diverse array of talents helped devise our company’s online expression, constructively asking the question “why are we doing it this way?”.

And yes, spending time on *that* site made me feel a bit guilty enough to post new content on *this* site. Plus I can point out that my name is in the news section for the Big Rock snow that I did, whee!

Setting Up a Local Server Using MAMP

A friend was asking for some help doing this, so I decided to dedicate a blog post to it instead. (Screenshots make everyone happy.)

I personally keep all of my project files in a “Projects” folder right under my home directory. Subsequently, each project (and subversion checkout) get their own folders. I also have Flash output being symbolically linked to the HTML site, but that could be another article.

Projects

Download, install, and pay for MAMP Pro. It’s great. It will do a bunch of setup stuff that I can’t remember since it’s been months since doing it, but it’s a relatively straightforward process.

If it didn’t do so automatically, start up your MAMP server. Switch to the Hosts view and then on the + sign at the bottom left to start a new project.

MAMP-hosts

I always choose a Server Name to be something short and without spaces. When I run my localhost I will run it as mynewproject:8888 so I try to keep it short and self-explanatory.

Now under Disk Location, click on “Choose” and select the directory containing your project files. Click on “Apply” and you will be asked to restart the server.

Once everything is done restarting, you can either go to mynewproject:8888 (port 8888 is the MAMP default — I haven’t had a need to change this) or go to the Hosts view in MAMP again and click on the house icon next to your project’s name.

You’re done! If you need to create a local database, click on the WebStart button in the top right and you’ll see a link to your locally running phpMyAdmin. There’s a lot of help available online, and at least one friend here willing to lend a hand if needed.

If you want to want to see your site in a simulated Windows environment, you may want to read on how to configure your VMWare Fusion to view your MAMP server.

Want? Get!

Big Rock Untapped allows artists to contribute music for release as a compilation album, promoting independent artists and local bands. I was tasked to find a way to download the music files (hundreds of them) and scoffed at the idea of manually downloading each of them. I considered using PHP to grab the files, but then remembered about wget which my old colleague used to pull the Weather Network current temperature for Fairmont Hot Springs Resort. After a bit of searching, I found Quentin Stafford-Fraser’s wget for Mac OS X which was a very helpful pre-compiled for OSX version of the binary and off I went. With the wget manual at my disposal, I was able to download the scores of files all in one go, definitely making my life easier (and preventing future cringing the next time I have to do this pull).

This reinforces the feeling I had in first year Computer Science: the joy of making computers do my bidding. Mwahaha!

wget