Local deployment?

I have a local project, call it DEV, and remote staging, STAGE. The thing is, I need to put changes to DEV in a local working copy of STAGE and then commit it via SVN. I'm not quite sure whether STAGE-LOCAL can be a working copy of STAGE and a repository for DEV as well, so I thought the easiest thing (rather than copying via the windows file manager window) would be to create a deployment.


I tried creating a local deployment and filled in all the information. The complaint coming back at me is that the target directory is not in the prjoect. My first thought is: isn't that the idea?

6 comments
Comment actions Permalink

Ok wouldn't  STAGE-LOCAL be a repo?

I'm not sure you can commit a repo to a repo in svn. Using Git, I'd just clone everything.

About you error.. I don't get it. Can you upload a picture?

0
Comment actions Permalink

Not on that system at the moment, but basically at the bottom of the mappings pane I get a yellow warning icon and a message telling me that the local path (c:\www\my_domain\staging) is outside of the project. It lets me save despite the warning, but will not show that deployment in the list when I click Upload

Seems very odd to me, given that the idea of deployment typically involves a destination outside of the project directory. I would think that a directory INSIDE the project directory would be the eyebrow-raiser.

0
Comment actions Permalink

Hi Jeff,

As I understand you are using Mounted Folder as a deployment method. If so (+ based on your description) I think you possibly made a mistake with folder paths. Below is an example of such Deployment configuration -- it will copy files from PROJECT_ROOT (which is E:\Projects\web\_idetest ) into another folder (which is E:\Projects\web\_samples ). Have a look at these pictures and compare with your setup.

screen01.png

screen02.png

0
Comment actions Permalink

That did it! I needed to use the mounted folder instead of local. Thanks!

0
Comment actions Permalink

Yeah, these names a bit misleading:

  • Local means no file transfer involved (files are already where they supposed to be)
  • Mounted Folder is for copying files when "normal" file copy operations are involved (like, another folder on your computer, shared folder on another computer or similar).
0

Please sign in to leave a comment.