Hi.
I cannot seem to find a lot of information anywhere in the Scriptcase domain about re-deployment scenarios. For example, re-deploying one or more specific applications for an existing site in order to fix bugs, make enhancements etc. Most of the available documentation, videos etc. seem to be around initial site deployments. If anyone knows where I can find information around the options for re-deploying specific apps , I’d appreciate knowing where to find it.
Meanwhile, I have some specific questions related to re-deploying specific applications.
During the ‘deploy’ workflow for specific applications, I wanted to select SFTP as the method, and set the remote deployment directory to be a temporary deployment directory on the prod server. I do not want to deploy directly to the production app directories (under wwwroot) because a) I want to backup the existing application directories first, and b) I believe it is a safer approach to safeguard the existing prod apps in case of an FTP failure mid-deployment.
I also set the options to NOT deploy the common libraries - I only do this with full deployments (all apps).
The applications are successfully deployed and sent to the remote directory via secure FTP.
In the destination directory I note that there is a directory for each app (expected), plus a ‘_lib’ directory. The latter seems to be only a very minor subset of the _lib directory found under the www root.
Q1. Does anyone know why the _lib directory is deployed with specific apps?
Q2. What would be the best or most appropriate technique to replace the existing app directories with the new ones. Copy (overwrite) the contents of the existing app directories, or remove the existing directories and do a move? Are there any security considerations?
Q3. How should the _lib folder be handled, noting that the in-production _lib folder has a lot of directories and files, way beyond what is included in the _lib that is newly deployed?
Thanks in advance for any insights.
Regards.