本文介绍了Python和Django IDE与远程编辑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个可以让我编辑远程Python项目的IDE,并且还具有体面的Django支持,远程命令执行,也可能是远程调试。我已经尝试过PyCharm和Aptana与PyDev,但我没有很多运气配置它们进行远程编辑。感谢您的帮助!

解决方案

我在Ubuntu 10.10中安装了Pycharm。关键是使用sshfs - 它映射到我的web主机 - 通过ssh。这些都是先决条件:ssh访问,sshfs。 (除非你可以找出一种将ssh映射到Windows共享驱动器的方法)。



所以一旦ssh,sshfs被安装,我在本地创建一个linux mount - 所以我的webhost的目录在本地显示为/ webhostx..然后从Pycharm(或WingIde或任何编辑器)不在乎/ webhostx是一个本地挂载的远程文件夹。



Pycharm还有一个远程调试功能 - 我正在测试它的过程中我的主机(webfaction)。


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!

解决方案

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).

这篇关于Python和Django IDE与远程编辑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 01:58