Excellent. This setup is pretty much exactly what I'm looking for. Thanks John!
Also thanks to input from the rest of you guys. Cheers /Magnus Den söndagen den 24:e juni 2012 kl. 05:07:54 UTC+2 skrev John Fitzgerald: > > In more detail here's I do it; the application/project I'm working on is > always hosted on a cloud CentOS machine(s), that have the git/svn checkout > locally, and will run the app there. I have some install scripts that setup > everything the way I like it. > > When my client is Windows, I'll use Putty and development via console Vim > OR samba mount the repository directory on remote CentOS, then use Sublime > Text / Vim. The latter works really well when using a local vmware image > for CentOS too. > > When my client is Linux, I'll use ssh and console Vim OR sshfs/fuse to > mount the repository directory on remote CentOS, then Sublime/Vim again. > > The reason it works well for me, is: > a) I often have non-node stuff necessary for my work like postgresql, > redis, cli apps, nginx, postfix, binary content etc.. I can't install those > all from scratch on every machine I want to work from. > b) I want the immediate feedback of save/refresh, so I don't like waiting > for rsync or a push/pull. > c) Some modules won't work cross platform and I don't care about > supporting Windows as a server (I think MS support of Node is great though). > d) This same setup works equally well for python/ruby/php apps as I can't > use node exclusively. > e) My development is under the same conditions as my production > environment, so deploying is generally easy. > > Biggest downside is your editor may die if it doesn't cache file listings > and you have a slower link/big repository. > > > Also, I was using ssh/putty with multitail to monitor log files while I > work, but I just started trying out http://logio.org/ as a replacement - > fantastic so far. > > > On Sat, Jun 23, 2012 at 3:17 AM, Ralphtheninja (Magnus Skog) < > [email protected]> wrote: > >> Ok, so you either do 1 or 2 on linux, or do 1 or 3 on windows? Or do you >> combine them? >> >> >> Den lördagen den 23:e juni 2012 kl. 00:22:53 UTC+2 skrev John Fitzgerald: >> >>> I do the same as Mark, a few cloud servers that I remote into for >>> development. I'm often jumping between a mix of several Win7/Centos/Ubuntu >>> machines - to do remote development I use the following scenarios: >>> >>> 1. On either, ssh with console vim. >>> 2. On linux, I'll do a fuse ssh filesystem mount and then use >>> vim/sublime text. >>> 3. On windows, I do an ssh tunnel & samba mount to local drive, then >>> vim/sublime text. >>> >>> Whatever I'm working on is either tunneled to a local port to access via >>> browser, or behind http auth. >>> >>> On Fri, Jun 22, 2012 at 3:07 PM, Mark Hahn <[email protected]> wrote: >>> >>>> For what it's worth, I have my only development environment on one >>>> "server" and I just remote into it from all the others. I literally see >>>> the same exact environment everywhere. >>>> >>>> >>>> On Fri, Jun 22, 2012 at 3:00 PM, Elijah Insua <[email protected]> wrote: >>>> >>>>> dropbox >>>>> >>>>> >>>>> On Fri, Jun 22, 2012 at 2:52 PM, Ralphtheninja (Magnus Skog) < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> It's very common that I use several machines while developing and >>>>>> those machines might also be in different locations. I have two machines >>>>>> at >>>>>> home and two machines at my moms etc. There might be more machines in >>>>>> the >>>>>> future. My problem is this. No matter where I am, I just want to sit >>>>>> down >>>>>> and code and not care about what modules I have installed and where. If >>>>>> I'm >>>>>> visiting my mom some day I might find this uber cool module and install >>>>>> it >>>>>> globally with npm on that machine. When I get back home I'd like to sync >>>>>> my >>>>>> global modules on my other machines, instead of having to remember that >>>>>> I >>>>>> installed module X on machine Y. Do you have any recommendations? >>>>>> >>>>>> Thanks >>>>>> /Magnus >>>>>> >>>>>> -- >>>>>> Job Board: http://jobs.nodejs.org/ >>>>>> Posting guidelines: https://github.com/joyent/** >>>>>> node/wiki/Mailing-List-**Posting-Guidelines<https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines> >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "nodejs" group. >>>>>> To post to this group, send email to [email protected] >>>>>> To unsubscribe from this group, send email to >>>>>> nodejs+unsubscribe@**googlegroups.com<nodejs%[email protected]> >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en> >>>>>> >>>>> >>>>> -- >>>>> Job Board: http://jobs.nodejs.org/ >>>>> Posting guidelines: https://github.com/joyent/** >>>>> node/wiki/Mailing-List-**Posting-Guidelines<https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines> >>>>> You received this message because you are subscribed to the Google >>>>> Groups "nodejs" group. >>>>> To post to this group, send email to [email protected] >>>>> To unsubscribe from this group, send email to >>>>> nodejs+unsubscribe@**googlegroups.com<nodejs%[email protected]> >>>>> For more options, visit this group at >>>>> http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en> >>>>> >>>> >>>> -- >>>> Job Board: http://jobs.nodejs.org/ >>>> Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List- >>>> **Posting-Guidelines<https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines> >>>> You received this message because you are subscribed to the Google >>>> Groups "nodejs" group. >>>> To post to this group, send email to [email protected] >>>> To unsubscribe from this group, send email to >>>> nodejs+unsubscribe@**googlegroups.com<nodejs%[email protected]> >>>> For more options, visit this group at >>>> http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en> >>>> >>> >>> >>> >>> -- >>> John R. Fitzgerald >>> >>> >>> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > > > -- > John R. Fitzgerald > > > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
