Reputation: 1282
I have set up a development web server using VMWare and Debian. It's all set up fine, but I have an problem.
I need to be able to work with the files on the server, or a copy of them. But, it's important that both sets of files are in sync. For example, in my text editor if I'm working on index.php
I don't want to have to upload with FTP each time, and I don't want to manually keep track of what files I've edited etc.
Any ideas on how I can achieve this?
Upvotes: 0
Views: 46
Reputation: 87
Besides version controlling you can achieve it with sshfs. It is basically like mounting a remote directory in your local system.
More info:
http://en.wikipedia.org/wiki/SSHFS
Upvotes: 1
Reputation: 1282
After much searching I felt the best solution for my case is to use lsyncd
to upload files to the development server anytime a change is made.
Although I use git
I felt setting up a Git server and having to commit
and push
every time I make a change isn't what I want to be doing. Using lsyncd
I'm able to use git
on my local machine to keep track of the project.
Upvotes: 0