Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python and Django IDE with remote editing?

Tags:

python

django

ide

I'm looking for an IDE that will allow me to edit remote Python projects and also has decent Django support, remote command execution, and maybe remote debugging. I've tried PyCharm and Aptana with PyDev but I'm not having much luck configuring them for remote editing. Thanks for your help!

like image 517
mpso Avatar asked Jun 22 '11 04:06

mpso


People also ask

Is Django an IDE for Python?

Wing Pro is a Python IDE that can be used to develop, test, and debug Python code written for the Django web development framework. The debugger works with Django's auto-reload feature and can step through and debug Python code and Django templates.


2 Answers

I have Pycharm setup on a Ubuntu 10.10. The key is to use "sshfs" - it maps to my web-host - via ssh. Those are the pre-reqs : ssh access, sshfs. (unless you can figure out a way to map ssh to a windows shared drive).

So once ssh, sshfs are setup, I create a linux mount locally - so my webhost's directory appears locally as "/webhostx" .. From then on Pycharm (or WingIde or any editor) does not care that "/webhostx" is really a remote folder mounted locally.

If all else fails there's always Emacs (everything included :-) ).

Pycharm also has a remote debugging feature - I am in the process of testing it with my host (webfaction).

like image 170
blispr Avatar answered Sep 28 '22 22:09

blispr


Emacs has tramp for remote editing on top of ssh, ftp or other protocols(works out of the box). nxhtml has support for editing Django templates (needs setup). I don't know about remote debugging. I've never done that.

Of course, Emacs is a lifestyle rather than an editor as most of its users will tell you so be warned.

like image 36
Noufal Ibrahim Avatar answered Sep 28 '22 23:09

Noufal Ibrahim