web development on ubuntu droplet. sync files with localhost looking for options and ideas.

May 31, 2015 1.2k views
PHP PHP Frameworks DigitalOcean Ubuntu

Hello, on my laptop i have windows 8.1 installed with slublime text. most of the websites i'm doing are based on symfony / laravel. The problem is using sftp with winscp to download the files from droplet on my localhost so i can edit them it's time consuming. Anyone from here got any ideas what to use to keep in sync ? On nitrous.io they had this desktop app that was keeping in sync the vps with localhost and it was very fast where winscp with sync directory it's just... sloow very slow.

4 Answers

I'm pretty much in the same boat as you, but I've found that Bittorrent Sync (not 2.0) is a good way to develop locally but have external hosting. Albeit, it's not the fastest solution but it is easy to set up and keeps all of your machines on the same page.

i've seen the tutorial with bittorrent sync i was thinking giving a try. another solution i was thinking of was pushing and pulling from git but ... every time run the same commands .. again and again even when i do small file changes to fix a bug and test test test 3 - 4 times make a change and so on .. :-). too bad digitalocean doesn't have a similar app to nitrous that one was nice i would keep it open do the edit wait few seconds for sync and refresh page :)

Have you thought about using something like cloud9 ide to edit and run the files on the droplet itself? You wouldn't have to worry about downloading the files to your local machine.

no i didn't know it works :D but .. i would miss my sublime env :-(

Have another answer? Share your knowledge.