Install Django

Official procedure to install Django in Manazag Team

Ubuntu

Install PIP and update itself
sudo apt-get install python-pip
sudo pip install -U pip

Install latest Django version
sudo pip install Django

or upgrade to latest Django version
sudo pip install Django --upgrade

or install a specific Django version
sudo pip install Django==1.6.2

Tested on:

  • Ubuntu
    • 12.04

New Django 1.3.1 project on DreamHost

Goal

install django in subdomain (eg. subdoamin.domain.com) to start a new project

Step by step guide

Create subdomain

create a subdomain; be careful on user to manage shell account; use passenger;

Create a database

It’s recommended to create a specific database for django

Run the Django Setup wizard


cd carla.manazag.com
/usr/bin/django-admin.py startproject

 

References: