Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Have you considered doing something like pushing with git?


This would suffer from the same problem.

But doing git push all is out of the question for me, because I'm rsyncing while developing, so I'd need to constantly commit and push tiny nonsensical commits to the server, and then do a massive rebase afterwards. In effect, it's more work and gains me nothing.


I hope this is some sort of staging or testing server?

The idea of repeatedly writing code and rsyncing it up to a production server while adding new features/whatever seems incredibly error prone to me. And that's not even to touch on whether or not there's automated testing (in the form of unit/integration/whatever tests in the code).


Yeah, it's a development server. I've got a cheap VPS (€4/mo with 512MB of memory) and I usually run the code I'm developing there.

My reasons: I don't have to pollute my laptop with various (sometimes mutually exclusive) servers - virtualenv &co are great, but can only go so far, and VMs are much harder on the battery; trivial for other people (colleagues, clients) to see WIP, even if my laptop is suspended.


You should give Emacs and Tramp some consideration. Failing that, Fuse works well.


Which provider is that ?


alvotech.de


Awesome. Will try it. Cheaper than linode. Curious how they perform.


Every push with git is going to create a new ssh connection. Using a shared connection is way faster.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: