Viewing posts for the category Coder
A few months back on went on a search for the next best e-commerce framework. Of course only open source will do and while I really like the Cartridge plugin for Mezzanine to say Cartridge is in it's infancy is an understatement. But other than Satchmo (who's ship seems to have sailed) there aren't really any good options from the django side. You're pretty much left rolling your own.
For the past few years I've been deploying my Django projects to Webfaction with Fabric. Fabric is an amazing tool very similar to Capistrano for Rails that allows you to run a series of shell commands in sequence. While this is going to be a simple example of Fabric usage, it shows how it can save time.
Today I needed to move a ton of static media files over to a new server (we're switching hosts at work.) In this case we previously had some of the large media files on a CDN that we're moving away from and these files I now need to host on the same server as the rest of the stuff. Only problem is there is over 3,000 files and many of them large videos and images.
I started building sites with Django in 2008 and it's a little crazy to look back and see the improvements and growth that Python and Django has experienced in that time. Remember trying to install everything with Macports? Environments were a beast to deal with. Then a few years ago Homebrew came along and its now pretty much the first thing I install on a new Mac to start setting up a local dev environment. If you haven't used Homebrew yet, you're missing out.
Today I had the joy of installing an old Magento version on my local MAMP setup. Most everything went well. I first tried to install the old sample data with it but the download that was available was obviously not correct, resulting in tons of SQL errors. So I decided to just install it clean with no sample data. Everything went fine until I tried to log into the admin and PHP can't store the session into a TLD like localhost, so it was time to fire up some virtualhosts with period in them so that Magento can work, cause...