I have two separate directories:
Live (Wamp root dir): C:\wamp\www\
I am developing my PyroCMS theme in the development directory, which has the same directory structure as it would when deployed to the Wamp WWW root.
What is the best way to make a fast deployment script? Essentially it would just need to wipe out the current contents of the Wamp www root directory and replace it with what I have in development. I came up with this script using PowerShell:
$from = "C:\Users\me\development\ContentSite\*" $to = "C:\wamp\www" Copy-Item $from $to -recurse -force
But it is pretty slow. Any better ideas?