[Swansea Hackspace] Text Editor for code...

Paul Harwood paul at harwood-leon.com
Thu Nov 6 09:37:27 GMT 2014


That is absolutely fine for one person one machine. Once you get to many people, many machines, thats where vim comes into it’s own.

My usual setup is:

- create local VM (usually pre rolled ubuntu image with LEMP)
- git init/push a development repo from the VM to my local machine git server
- shell/vi into VM 
- code some stuff
- test some stuff
- deploy via git pull from my local machine on to the live server (stops silly push mistakes breaking stuff)

The beauty of this is that it keeps everything local until it’s time to deploy, server config and all. I hate spending money on development server cycles when my local machine is usually faster spec. The only hassle is keeping versions of software consistent.

When you have had the pain of overwriting crucial files on upload, that’s when edit in place feature of VIM becomes very sane.

— Paul




> On 5 Nov 2014, at 23:09, Emyr Morris <em at preseli.com> wrote:
> 
> For live website I prefer to work local, check my files then FTF them to the server, always felt safer doing it the slow way

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20141106/eb0fbd7b/attachment.html>


More information about the Hackspace mailing list