Skip to main content
11 events
when toggle format what by license comment
Apr 13, 2017 at 12:51 history edited CommunityBot
replaced http://craftcms.stackexchange.com/ with https://craftcms.stackexchange.com/
May 4, 2015 at 16:41 comment added Alex Kendrick I probably misunderstood your question, Dominik. If Craft had a "path to templates" config setting then you could set that per environment, but I don't think it does.
May 2, 2015 at 18:45 comment added Alex Kendrick You could have different branches in your git repo, one for each environment. Then deploy the staging branch to staging, the production branch to production, etc.
May 2, 2015 at 18:01 comment added Dominik Krulak How would I create templates for each of environments? templates/staging/?
Jun 12, 2014 at 21:22 history edited Alex Kendrick CC BY-SA 3.0
making the example consistent
Jun 12, 2014 at 16:51 vote accept CreateSean
Jun 12, 2014 at 14:43 history edited Alex Kendrick CC BY-SA 3.0
added 207 characters in body
Jun 12, 2014 at 14:33 history edited Alex Kendrick CC BY-SA 3.0
added 289 characters in body
Jun 12, 2014 at 14:27 history edited Alex Kendrick CC BY-SA 3.0
added 386 characters in body
Jun 12, 2014 at 14:24 comment added Matt Stein You might as well add your .gitignore for posterity, since you've already added lovely multi-environment examples for the general and db configs. :)
Jun 12, 2014 at 14:19 history answered Alex Kendrick CC BY-SA 3.0