Skip to content

Instantly share code, notes, and snippets.

@dwayne
Created July 21, 2012 11:16
Show Gist options
  • Save dwayne/3155477 to your computer and use it in GitHub Desktop.
Save dwayne/3155477 to your computer and use it in GitHub Desktop.
Getting up and running with Django as quickly as possible

Django Quick Start

Create a directory for Python development

$ mkdir -p ~/sandbox/python
$ cd ~/sandbox/python

Setup a virtual Python environment (http://pypi.python.org/pypi/virtualenv/)

$ sudo apt-get install curl
$ curl -O https://raw.github.com/pypa/virtualenv/master/virtualenv.py
$ python virtualenv.py [name-of-env]

Install Django

$ cd [name-of-env]
$ . bin/activate
$ pip install django

Resources

Installing Apache and mod_wsgi on Ubuntu 12.04 LTS

$ sudo apt-get install apache2
$ sudo apt-get install libapache2-mod-wsgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment