Aptana studio tutorials
You should now have a functional Django environment within Aptana. Remove the “src/” prefix from “src/manage.py,” hit Apply and OK. Under PyDev – PYTHONPATH, check out the String Substitution Variables tab. Right click on your project root and go to Properties. But the code to make a symlink does not work. One last thing– for some reason, Aptana does not know where to find the manage.py file needed to maintain your project it gets entered incorrectly in the environment variable. I noticed that in the tutorial the name of the zip to unzip is different from the zip pack I downloaded. On the next screen, point Aptana to whatever database you’re using with this project or leave it as default to build against SQLite.įinish the setup and Aptana will create the directory structure for you, as well as run the equivalent “python django-admin.py startproject whatever” command you normally use to kick off a Django project.
![aptana studio tutorials aptana studio tutorials](https://djangounchain.files.wordpress.com/2012/12/screen-shot-2012-12-27-at-5-08-31-pm.png)
Point Aptana to: /usr/local/lib/python2.7/dist-packages/django On the next screen, add an external source directory. You’ll need to select “create links to existing sources” before Aptana will let you proceed since it still does not know where to find Django. This solution is a very quick and very dirty way of getting set up and is only good if you don’t work with a variety of versions across a variety of projects.īack in Aptana, File > New > Other > PyDev > PyDev Django Projectįill in the obvious fields. You could take it a step further and set up virtualenv, but it’s overcomplicating things in this case.
![aptana studio tutorials aptana studio tutorials](https://i.ytimg.com/vi/cGSvonNTR48/maxresdefault.jpg)
![aptana studio tutorials aptana studio tutorials](https://djangounchain.files.wordpress.com/2012/12/screen-shot-2012-12-27-at-5-29-24-pm.png)
It is very old and subject to break when you update the system.
#Aptana studio tutorials how to
Here’s how to configure Aptana to work with Django (1.7.3) on Ubuntu 14.04.ĭon’t install Django from Ubuntu’s repositories. I’ll take the initiative to do it myself. The only problem is, out of the box, Aptana doesn’t know what to do with the Django libraries, and many of the tutorials currently floating around the web are very outdated. I’m getting more into using IDEs for development, and would like to use Aptana for my work with Django since I use it with everything else.