Workflow local/remote & auto-sync

I've setup a webserver (Lighttpd/PHP) in our local network as a production environment. The websites are stored in /var/www and accessible via http://www.<sitename>.dev from within the local network. All the files are checkouts from Subversion repositories (Working Copies).

Using Expandrive I've mountend the /var/www directory as a network drive in Windows (Z:\). I'm using TortoiseSVN for SVN management (Commit, Update, etc).

When working on a website I modify the files on my Z:\ drive. Save, then switch to the browser and hit F5. Switch back, edit, save, and refresh to view the results. Etc, etc.

This workflow has a few disadvantages:

  • Large projects can be very slow in WebIDE and TortoiseSVN (major issue in some cases)
  • The .svn Subversion meta information is store on the central webserver though it is useless for a webserver (minor issue)


The advantages are:

  • Easy setup, preview of modifications is immediate
  • Central place to backup the files under development wich are not committed to SVN yet


WebIDE favors a local working copy that will be published to the webserver upon run. But it requires an extra user action: publish after every edit, then wait a second and refresh the browser. Although it's just one button, it stops me from quickly switching between IDE and browser. And that's a very important requirement when you're making a lot of small changes that must be previewed after every edit, no matter how small those changes are.

Is there a way to setup auto-sync that constantly 'publishes' my files to the webserver to avoid hitting the publish button yourself?

If someone has an idea for a better workflow, I'm all ears

2 comments
Comment actions Permalink

I'd like to point out that easy setting up a of "transparent" local copy with auto-sync is our top goal.
As far as I know we do not have auto-sync YET. Please watch http://youtrack.jetbrains.net/issue/WI-673
We are also interested in finding optimal workflows for different setups.

0
Comment actions Permalink

Hello,

Auto-publish on frame deactivation (http://youtrack.jetbrains.net/issue/WI-673) will probably work for you.

Regards,
Kirill

0

Please sign in to leave a comment.