K-man
K-man

Reputation: 364

Most efficient way to synchronize local folders and server (django dev)

I am currently using winSCP to transfer files back and forth, and using PuTTY to run the server ./restart for when I edit my app/project .py files. I was wondering if there is a faster and more efficient to upload/download from the server instead of drag/drop and server restart.

Are there any django-specific scripts that automate some of this? Maybe through the editor? I'm currently using Sublime.

Upvotes: 1

Views: 505

Answers (1)

Hoff
Hoff

Reputation: 39866

If you don't already, you should consider putting your project under version control, e.g. by using Git. Aside from a host of other benefits (branching, reverting, etc.) it will also help you sync your files between your development machine and your server.

Git homepage

As far as django (or any python project for that matter) is concerned, you should check out Fabric, which let's you automate a lot of tasks involved with deploying your code, such as restarting the server etc.

Fabric homepage

Upvotes: 1

Related Questions