Forum archive
Samba? Or is there a better way?
Im looking for some general guidance on how best to setup a simple dev machine.
I am working on a project that requires a simple web server (no backend processing just delivery of HTML/CSS/JS files) and want to live edit the files the server is dishing out. Im working on 2 machines around the house and using Brackets as the text editor on both.
Brackets has various extensions that work with SFTP (and maybe SSH?) but these seem to require synching and what I want to do is write directly into the folder that is being served (this allows Brackets to work with Chrome to provide live updates as soon as I save (or as I type with CSS changes).
If the right process is to create a samba share and map a drive to it: What are the issues I need to be aware of re permissions?
Is there a better way?
Thanks in advance.
I have a vague recollection that by default SSHFS sessions cache content. But that may just be the default Linux client behaviour? If you have issues getting the "instant" result you are after, you may need to explicitly turn off the caching. Let's cross that bridge if we get to it though...
The LAMP appliance includes Apache, as well as MySQL and a number of languages starting with 'P'! :) (PHP, Python and Perl). The LAPP appliance is very similar except has PostgreSQL (instead of MySQL).