Reputation: 364
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
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.
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.
Upvotes: 1