Blog Bug's

bugging blogs

…Working with Django (PyDev) over LAMP and Eclipse

Apache and Mysql
i) sudo apt-get install libapache2-mod-python python-mysqldb

Eclipse and PyDev
i) sudo apt-get install python
ii) sudo eclipse
iii) Help > Install New Software
iv) click Add, input local: pydev location: pydev.org/updates, click Ok
v) Select PyDev from the list then click Next for installation
vi) When install finishes restart Eclipse

Django
i) download latest tarball from www.djangoproject.com
ii) extract and install : sudo python setup.py install
iii) on eclipse : System > Preferences > Pydev > Interpreter – Python
iv) on System PYTHONPATH, click New Folder, input location: /user/local/lib/python2.6/dist-packages/django/bin/, and click Ok then click Apply

posted by ninoy in Django and have No Comments

Place your comment

Please fill your data and comment below.
Name
Email
Website
Your comment