Now that the system is all setup, it’s time to create the development environment. I actually switched back to windows for my development environment since it was easier.
I’m on three different dev environments so its important to have consistency between the different workstations.
- Eclipse SDK – www.eclipse.org
- Python – www.python.org
- Tortise SVN – http://tortoisesvn.tigris.org
- Django – www.Djangoproject.com
- shelled – http://sourceforge.net/projects/shelled/
- jsEclipse – http://download.macromedia.com/pub/labs/jseclipse/autoinstall/site.xml
- PyDev – www.pydev.org/updates
Source Code Control, in my case I’m using subversion so I’m going to use Tortise for the windows box and subversion for Mac OSX and Fedora.
Installation is simple.
Install Eclipse, must have Java installed
Install Pydev, via ‘help > Install New Software’ and input ‘www.pydev.org./updates’ select PyDev and install
Install Tortise SVN install and checkout the project to your local folder. – Right click and hit SVN Checkout and enter in the SVN credentials
Linux / MacOSX
svn co url.to.repository/
Setup a project in Eclipse using python and map the folder to the dev environment
symbolically link the repo folder to your workspace folder and with a little luck things will work..
mklink /D target_directory source_directory
If you’re running as a regular user you will likely have to use ‘run as administrator’ . Hit the start button, in the search box directly above the start button type in “cmd”. This will search for cmd.exe and appear in the menu. Right click and click ‘Run as Administrator’. From there you should be able to use the mklink command
Linux / Mac
ln -s target_directory source_directory
After the checkout process is done, startup Eclipse and your files should be there! If you want to create separate projects then create a separate workspace and move on.
Disclaimer: This isn’t meant to be a how-to, just some notes I jotted down when I was getting my environment setup.