Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your suggestion looks ok, but I wouldn't let the developers push directly to the staging server. Instead, an <em>integrator</em> should carefully review branches and incorporate them into the main branch (or development branch if you use the git flow model as suggested by bUg.) * The same person would push to the staging server.</p> <p>* <em>Integrator</em>: "<a href="http://www.kernel.org/pub/software/scm/git/docs/everyday.html">A fairly central person acting as the integrator in a group project receives changes made by others, reviews and integrates them and publishes the result for others to use...</a>"</p> <hr> <p><strong>1. do a git init in production server (is this safe?)</strong></p> <p>Yes it's safe, but you of course have to set very restrictive permissions on this repo. I would probably start off by <code>curl</code>ing the whole web site to a local disc, if I don't already have it.</p> <p><strong>2. clone the repo from production to staging server</strong></p> <p>You should probably have a "central" repo separate from both the production and the staging server. That one can be cloned and pushed as needed.</p> <p><strong>3. developers clone the repo from the staging to their local machine</strong></p> <p><strong>4. push files to the staging server after finish changing</strong></p> <p><strong>5. when staging is ready, push everything to the production</strong></p> <p>Replace "staging" with "central" and I think you're ok, but a bigger issue is how you'll work with branches and merging, as bUg points out.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload