Monday, September 16, 2013

Creating a Mountain Lion development environment

So I had to set up a new dev environment at work on Mountain Lion. It uses the following components

  • Hombrew
  • Python 2.7.5
  • Django 1.5.2
  • Apache 2.2.25
  • Postgres 9.2.4
  • R 3.0.1
  • Virtualenv
and a bunch of other python libraries and stuff. This system is set up for Bioinformatics development, so there are things that are specific to that. The build is documented on our internal wiki, but I copied the build instructions to the *new* code.ex(python) wiki in my personal github account. The direct link to the build instructions is here.

Friday, September 13, 2013

Understanding Django static files

In struggling to setup a new development/production server on Mountain Lion, I came across this good explanation of django static files and how to configure them.

http://bitsoul.com/2012/10/04/understanding-django-static-files-for-beginners/

Also, this link was also helpful in setting up the environment

http://thecodeship.com/deployment/deploy-django-apache-virtualenv-and-mod_wsgi/

Cheers.