I'm working on a PHP website where I just added a switch to that environment - it's development When it's playing on my local site, and output when it's running live on the web host:
I have a mercurial site under VC, and usually just posted my site with hg push (the server also runs HG) However, in addition to this switch, the "production" site is always different from the "development" site in which the version is deployed, always on development instead of output Will be set.
This means that my deployment process
- develop
- test
-
hg commit -m "made Change " -
hg push -
ssh host hg update - 1 .
- Test
- Test
-
hg comm -m "Made changes" < Li> - "hg commit -m" dev -> prod "
-
hg push < / Code> -
ssh host hg update - (later)
output->development - Go to hg commit -m "prod -> dev"
- 1.
development to output Which clearly Is not great.
Is anyone else, so that the live site will always be set to output and set my local copy to development Will be given
Instead of being a switch, there is a development branch and a production branch.
Comments
Post a Comment