PDA

View Full Version : developing rails remotely via nfs/afp?


tehn
10-09-2006, 07:17 PM
greetings friends,

i'm very happy with my lighttpd/rails setup presently. i'm looking for a good solution for working on the project since it's left my local computer. while i'm pretty decent at vi, my rails project is a slattering a files and folders, which i feel better handling with textmate, or the like.

so, any suggestions on doing a remote file share? is that a bad idea?

i installed netatalk and have an afp working fine. unfortunately the apple file system love .DS_Store and all, which makes me crazy.

is there a sensible NFS alternative? i'm using os x as a client.

cheers!

reikiman
10-27-2006, 06:17 PM
Jedit allows you to access remote files using ssh.

That's what I use to remotely edit files off my Mac ... I give Jedit the ssh credentials to the login on my server, and it can browse/edit anything on the server.

http://jedit.org/

majorair
11-06-2006, 04:25 AM
This doesn't answer your question at all, but I would highly, highly recommend using Capistrano/Subversion instead. I edit and test locally and deploy with Capistrano. Then you're not editing live files...

Capistrano acts entirely through SSH, and you can access your SVN repositories through SSH as well, so it's a much safer alternative to setting up NFS or something. And Capistrano makes deployment as easy as "rake deploy".

rsanheim
11-16-2006, 09:30 AM
I would agree 100% with majorair. With my company we aren't on capistrano yet (which sucks), but we do everything through svn with some custom scripts for deployment and db stuff.

Editing remotely might be okay for very small projects, but you should really set up a little dev environment and work on getting capistrano setup to sync that to production when you are ready.