Django : Installation

Django is the web programming framework in python. It allow python programmers to show their expertise in web. Python is the powerful language we know.

On this tutorial I have going to show you how to install Django in your machine.

If you are a Linux user this tutorial is more comfortable for you.

  1. Open your terminal and check you already have python. if not install python using the command sudo apt-get install python to install python on your Linux environment.
  2. Install Apache Server and mod-wsgi
  3. Getting your database server is running. Django support for PostgreSQL, MySQL, Oracle and SQLite.
  4. Then you need pip in your python environment. to install pip
    sudo apt-get install python-pip


    or

    download the file get-pip.py then run this file with root access.
  5. Then if you have install pip install Django using the pip command
    sudo pip install Django
 That's it check your Django is install properly using following python snap


import sys; 
sys.path = sys.path[1:]; 

import django; 
print(django.__path__)"

Comments

Popular posts from this blog

Missionaries & Canibal Problem in AI using Pro Log

Hide the navigation bar in jHipster Angular 2

Spring Boot - No Need to Restart the Development Server for Each Time