Monday, May 13, 2013

Work with Django IDE using PyDev (Eclipse plugin)

Most of the time, you might be working with command prompt and text editors to develop django based website.

If you are an eclipse lover, you can use PyDev plug-in, which is an excellent tool that helps django developers in working with IDE

Prerequisites:
  1. Java
    1. If you are working on Ubuntu, run the following commands
      1. Install JRE by running the command, "sudo apt-get install openjdk-6-jre-headless"
      2. Install JDK by running "sudo apt-get install openjdk-6-jdk"
  2. Download eclipse from eclipse.org
    1.  you can download eclipse classic
    2. extract the tar file
    3. launch "eclipse" from the extracted folder
  3. Install PyDev Plugin
    1. Go to "Help > Install new software" 
    2. Click on "Add"
      1. From the 'Add Repository' window, enter some name for 'Name' field, say 'PyDev' and 'http://pydev.org/updates' in the 'Location' field.  
      2. Click on 'OK'
    3. Select "PyDev", and click on 'Next'
    4. Select 'Next' for the 'Install Details' window
    5. Accept the licence agreement by selecting the 'I accept ..." radio button and click on 'Finish'
    6. Wait for the software get download and install
    7. When prompted to select the certificates (window with text 'Do you want to trust these certificates?' with options 'Aptana Pydev; Pydev'), select the certificate and click on 'OK'
    8. After installation, eclipse prompts you to reboot the application
  4. From the Eclipse, go to "Window > Preferences > PyDev > Interpreter-Python", click on 'Auto Config', and then select 'OK'

  5. Click on 'Apply' and then 'OK'
  6. Now, you can create Django project by going to "File > New > Other > PyDev > PyDev Django Project"

2 comments:

  1. This is good information and really helpful for the people who need information about this. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. Thanks for giving a great information about nice Article..
    oracle training in chennai

    oracle training institute in chennai

    oracle training in bangalore

    oracle training in hyderabad

    oracle training

    oracle online training

    hadoop training in chennai

    hadoop training in bangalore


    ReplyDelete