Deploying to a local folder is normally done to create a complete site locally, which can then be deployed to a server using other tools. The DeploySite utility is necessary because Visual Studio Publish and dotnet publish are insufficient to deploy a YetaWF site. YetaWF uses symlinks heavily which can't be deployed by other tools.
A yaml file is used to define all the deployment attributes. The following is an example of a yaml file used to deploy to a local folder (named C:\Temp\FinalFolder in this example).
Deploy: Type: folder To: C:\Temp\FinalFolder BaseFolder: C:\Development\YetaWF From: C:\Temp\PublishOutput ConfigParm: Windows.Prod
The DeploySite yaml file has many more options, but these are sufficient to create a final folder containing the complete site. For information about available options see the topic DeploySite yaml File.
The first step in deploying a site is to run Visual Studio Publish or dotnet publish. In this example, the solution file is located at C:\Development\YetaWF and the published (partial) site is created at C:\Temp\PublishOutput.
Softelvdm.DeploySite Backup yourfile.yaml