Closed yorkshire-pudding closed 2 years ago
What I think it should say is:
Deploying to prod - moving upstream local: Manually delete all files in the
versioned
directory. local: Manually copy the all the files from theactive
directory into theversioned
directory. local:git add
&git commit
all files instaging
versioned
. local:git push
to get all files into the Git repository. production:git pull
to pull all config changes onto the production server. production: Manually copy the all the files from theversioned
directory into thestaging
directory. production: Run the config importer (via Backdrop UI). When yougit pull
on the production server, thestaging
directory is unchanged. The config files must be manually copied from theversioned
directory before they will be ready for import via the Backdrop UI.
And:
Sync local to prod - moving downstream production: Manually delete all files in the
versioned
directory. production: Manually copy the all the files from theactive
directory into theversioned
directory. production:git add
&git commit
all files instaging
versioned
. production:git push
to get all files into the Git repository. local:git pull
to pull all config changes onto the production server. local: Manually copy the all the files from theversioned
directory into thestaging
directory. local: Run the config importer (via Backdrop UI).
Yep, looks like step 3 for both sections should say 'versioned' instead of 'staging'.
Also, I think step 5 from the second section should say "onto your local" instead of "onto the production server".
Good point @BWPanda, so in all it should say:
Deploying to prod - moving upstream local: Manually delete all files in the
versioned
directory. local: Manually copy the all the files from theactive
directory into theversioned
directory. local:git add
&git commit
all files instaging
versioned
. local:git push
to get all files into the Git repository. production:git pull
to pull all config changes onto the production server. production: Manually copy the all the files from theversioned
directory into thestaging
directory. production: Run the config importer (via Backdrop UI). When yougit pull
on the production server, thestaging
directory is unchanged. The config files must be manually copied from theversioned
directory before they will be ready for import via the Backdrop UI.
And:
Sync local to prod - moving downstream production: Manually delete all files in the
versioned
directory. production: Manually copy the all the files from theactive
directory into theversioned
directory. production:git add
&git commit
all files instaging
versioned
. production:git push
to get all files into the Git repository. local:git pull
to pull all config changes ontothe production serveryour local. local: Manually copy the all the files from theversioned
directory into thestaging
directory. local: Run the config importer (via Backdrop UI).
Correction completed. Closing
On https://docs.backdropcms.org/documentation/versioned-extra-directory
It states the following:
Then later says:
And:
We are copying files in
versioned
but then doing git withstaging
; that's not going to workOr am I missing something?