INSTALLING DJANGO:
The latest version of django available is django-1.4
Before installing django, you need to have python installed on the system since , django is a python based framework.
(Python is already installed on linux and OS-X)
> Verify whether python is installed or not by typing "python" in terminal.
> Set up a database.You may use-Postgresql,mysql,sqlite3.
> Installing Django:
>>first download the tar file from: Django-1.4.tar.gz
>>then enter the following commands
tar xzvf Django-1.4.tar.gz
sudo Django-1.4
sudo python setup.py install
Checking the version installed run the following commands in python shell
>> Run python shell by entering python in the terminal
>>run the following commands
>>import django
>>print django.get_version()
It tells u the version of Django installed.
The latest version of django available is django-1.4
Before installing django, you need to have python installed on the system since , django is a python based framework.
(Python is already installed on linux and OS-X)
> Verify whether python is installed or not by typing "python" in terminal.
> Set up a database.You may use-Postgresql,mysql,sqlite3.
> Installing Django:
>>first download the tar file from: Django-1.4.tar.gz
>>then enter the following commands
tar xzvf Django-1.4.tar.gz
sudo Django-1.4
sudo python setup.py install
Checking the version installed run the following commands in python shell
>> Run python shell by entering python in the terminal
>>run the following commands
>>import django
>>print django.get_version()
It tells u the version of Django installed.
No comments:
Post a Comment