Answers.Body: <p>There is a PHP Constant <a href="http://buildwithcraft.com/docs/php-constants#craft-templates-path" rel="nofollow">CRAFT_TEMPLATES_PATH</a> which you can use to specify your Template Path. Would that help you out any?</p>
  
  <p>If you look at the top of the page linked above, it explains where you set the Constants.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-15T12:26:34.313Z
Answers.Text: ahh yes, that does help.  Do you think i also need a copy of storage or is ok to share a storage folder?  Seems to work either way but not sure if there are unintended consequences?
Answers.UserDisplayName: Keith Mancuso
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-15T14:31:43.907Z
Answers.Text: To be honest I've never done it. I guess if it were me, I'd air on the side of caution and keep them separate :)
Answers.UserDisplayName: Steve Holland
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-15T10:33:10.010Z
Answers.LastActivityDate: 2014-08-15T10:33:10.010Z
Answers.UserDisplayName: Steve Holland
Body: <p>Im curious if folks have found an easy way to stage template updates for a craft site thats already live.</p>
  
  <p>Locally we have branch in the repo for the new version which works fine but on the server if we want to share them with the client ideally wed just use stage.sitedomain.com or something</p>
  
  <p>Right now we are replicating the whole craft setup in a different location for a sub-domain and just sharing the database, is there a way to share a craft folder and just have a different templates folder?</p>
  
  <p>Eventually looking to move some of this to vagrant cloud for staging environments but not quite there yet</p>
  
Tags: <templating>
Title: Easy way to stage template updates for a live site
ThreadText: # Easy way to stage template updates for a live site
  
  (Asked by: username_0 on 2014-08-14)
  
  Im curious if folks have found an easy way to stage template updates for a craft site thats already live.
  
  Locally we have branch in the repo for the new version which works fine but on the server if we want to share them with the client ideally wed just use stage.sitedomain.com or something
  
  Right now we are replicating the whole craft setup in a different location for a sub-domain and just sharing the database, is there a way to share a craft folder and just have a different templates folder?
  
  Eventually looking to move some of this to vagrant cloud for staging environments but not quite there yet
  
  **Tags:** templating
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-08-15. Score: 1
  
  There is a PHP Constant [CRAFT\_TEMPLATES\_PATH](http://buildwithcraft.com/docs/php-constants#craft-templates-path) which you can use to specify your Template Path. Would that help you out any?
  
  If you look at the top of the page linked above, it explains where you set the Constants.
  
  > **Comments:**
  > **username_0**: ahh yes, that does help.  Do you think i also need a copy of storage or is ok to share a storage folder?  Seems to work either way but not sure if there are unintended consequences?  
  > **username_1**: To be honest I've never done it. I guess if it were me, I'd air on the side of caution and keep them separate :)  
  
  ---
  
  