How to work on Python project to be run on an EC2 instance?

0

I just started a web project using Python/webpy. I've created an Amazon EC2 instance and now would like to work on the actual development side.

Is there a way for me to open the Python files located on the EC2 instance from my local development machine using a development environment such as Komodo? I don't want to be using nano or vi since I need more than a basic text editor. If the approach that I've mentioned is not best practice, could you recommend a better alternative?

David

Posted 2011-06-01T15:33:44.397

Reputation: 2 007

This is a Stack Overflow question, isn't it? – CarlF – 2011-06-01T21:08:30.697

No idea. You can move it if you want. – David – 2011-06-02T15:21:35.557

Answers

2

You have a lot of options there:

  1. Use version control system like SVN, Git or Mercurial (my personal preference is the last one). You set up a repo somewhere like bitbucket or github, then just commit from dev machine and check out from web server.

  2. Use FTP/SFTP

  3. (my personal favorite) Use SSHFS to mount web server's filesystem to your local. SSH connection will be used to exchange data, but for all purposes, your IDE will treat remote files as if they were local ones!

    You haven't specified your OS, but I'm sure that with little googling you would be able to find the solution.

xyzman

Posted 2011-06-01T15:33:44.397

Reputation: 398

2

You could use FTP to push data to the server when you've finished working on it, or use GIT to push/pull data to a remote repo

Smudge

Posted 2011-06-01T15:33:44.397

Reputation: 593