Categories
Software

Single command Django installer for OS X

So you want to see what all the fuss around Django is about? To get the latest bleeding edge snapshot (as discussed here, here, here, here, here, here, here and here) you just need to run these commands (as root), per the official install instructions:

/usr/bin/svn co http://code.djangoproject.com/svn/django/trunk/ /usr/local/django-trunk
ln -s /usr/local/django-trunk/django /Library/Python/2.5/site-packages/django
ln -s /usr/local/django-trunk/django/bin/django-admin.py /usr/local/bin

For the lazy, get root (eg sudo -s) and run:

curl https://s3.amazonaws.com/media.samj.net/devel/django.sh | sh

If it’s already there then this script will update to the latest revision.

By Sam Johnston

Sam Johnston CMgr FCMI/FIML GAICD MACS Snr CP is an Australian technology executive and serial entrepreneur with over 20 years experience founding and advising startups, and in leadership roles at top global technology companies including Google, Equinix, Citrix, and DXC Technology.

Sam is currently chief entrepreneur officer (CEO) at Acumino, a Singapore venture studio focusing on emerging technologies and disruptive innovation. He is working with other founders to create the businesses of tomorrow by applying his research into emerging technologies including drones, robotics & humanoids, 3D printing, computer vision & voice, augmented & virtual reality, artificial intelligence & machine learning, blockchain, chatbots, and quantum computing.

Sam has a bachelor of computer science degree from the University of New South Wales, and is based in Singapore, having worked in Australia, Asia, Europe, and the USA.