To set up django on Eclipse on Kubuntu 10.04, perform the following steps
- Install django: installing django is very staright forward and details can be found here
- Install Eclipse: Kubuntu is shipped with KPackageKit as package manager, unfortunately, if you tried to install Eclipse using KPackageKit installation of the PyDev (Django Add on for eclipse) will fail. You will keep getting the following error:“The artifact file for osgi.bundle.org.eclipse.cvs, 1.0.400.v201002111343 was not found”to get a cleaner version of Eclipse. get it through Synaptic Package manager (you might need to Install Synaptic first)
- Install PyDev:
- Open your Eclipse
- Go to the update manager (Help > Install New Software)
- Add http://pydev.org/updates
- Set up django: after installation completes
- Create new project (File > new prject > ByDev Project
- Select project name
- Set up the python interpretter. To do so click on “Click her to configure an interpretter not listed”
- Click on Auto Config
- Eclipse will detect the path for the python interpretter
- You areready to go…. right click on your newly created project and you’ll see “dgango” item add to the context menu.
That’s it! enjoy the great experience