Anyway I decided to give it a try to Django after reading this interesting article about productivity.
And here I am, setting the development environment up. After reading A LOT I decided to go with Eclipse + Pysdev as the tools for development. Netbeans support for Python & Django seems promising but distant and JetBrain's PyCharm seems as another good option but it's still a beta and won't be free.
Let's start with the basics: Eclipse and Django installation
# sudo apt-get install eclipse
# sudo apt-get install python-django
After that I installed a couple of plugins including Pydev:
- Aptana Studio, you can find the installation instructions here: https://aptanastudio.tenderapp.com/faqs/installing-aptana-studio/eclipse-plugin
- Subversive, installation instructions: http://www.polarion.com/products/svn/subversive/download.php
- Pydev, installation instructions: http://pydev.org/manual_101_install.html
Note: After installing Aptana and restarting Eclipse I got this permissions problem but was solved following this link: https://aptanastudio.tenderapp.com/discussions/problems/1285-permission-problem
After doing this we need to do some Pydev setup:
- Windows -> Preferences
- Expand Pydev & click on Interpreter - Python
- Click on New and browse this route "/usr/bin/python"
- Click on OK button and close the dialog.
While doing the configuration I've found these links very useful:
http://solyaris.wordpress.com/2007/05/16/how-to-djangopydev-on-feisty/
http://mirinconbrujo.wordpress.com/2010/04/17/eclipse-con-pydev-y-django/
http://penkin.wordpress.com/2007/08/08/eclipse-for-django/
http://wyattbaldwin.com/2009/06/29/eclipse-for-python-web-development-on-ubuntu/
I'll do some testing later and let you know how things goes with my first project

No hay comentarios:
Publicar un comentario