diff --git a/docs/deploy-viya.md b/docs/deploy-viya.md index 28d27ae..7d205f9 100644 --- a/docs/deploy-viya.md +++ b/docs/deploy-viya.md @@ -152,6 +152,16 @@ To explain each of these lines: If you have additional libraries that you would like to use in Data Controller, they should also be defined here. +## Redeployment / Upgrade / Migration + +To update DC, just deploy it as a fresh instance, then move the new config across, as follows: + +1. Do a full deploy to a new location +2. Copy the contents of the old `$(appLoc)/services/settings.sas` file to the new SAS Folder location +3. Delete the new physical directory (just created) as it is now replaced with the old one (per step 2) +4. Either delete or rename the old SAS Folder location (appLoc), and rename the new SAS Folder location to equal the old one +5. If using a dedicated web frontend, backup/rename so that the new web server location matches the old one +6. Run any migrations relevant to the release, as defined [here](https://git.datacontroller.io/dc/dc/src/branch/main/sas/sasjs/db/migrations) ## Visual Analytics