From 874947af52f05f02e40de978482da619f1e023ae Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Tue, 23 Sep 2025 20:55:44 -0500 Subject: [PATCH] feat(controller): added iowa's mcd, flo --- scripts/update-controller-server.ps1 | 1 + scripts/update-controllers.ps1 | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/update-controller-server.ps1 b/scripts/update-controller-server.ps1 index 4d237b5..bfb1216 100644 --- a/scripts/update-controller-server.ps1 +++ b/scripts/update-controller-server.ps1 @@ -159,6 +159,7 @@ function Update-Server { $required = @( @{ Key = "BETTER_AUTH_SECRET"; Value = "3d2b7d64ac2f9ebd6854325a84390666f4bbd2c7c3f537bb60fca3740f081e1e"; Comment = "used for better auth secrets" }, @{ Key = "BETTER_AUTH_URL"; Value = "https://$Server.alpla.net"; Comment = "The better auth url" } + @{ Key = "NODE_ENV"; Value = "production"; Comment = "Just making sure this is in there." } ) $envFile = "$LocalPath\.env" diff --git a/scripts/update-controllers.ps1 b/scripts/update-controllers.ps1 index 21f6d91..49c989a 100644 --- a/scripts/update-controllers.ps1 +++ b/scripts/update-controllers.ps1 @@ -14,7 +14,7 @@ param ( # example string to pass over, you must be in the script dir when you run this script. or it will fail to find the linked scripts # If we do not pass plant to update over it will auto do all plants if we want a specific plant we need to do like below -# .\update-controllers.ps1 -App_Path "C:\Users\matthes01\Documents\lst" -Token "test3" -BuildController yes -PlantToUpdate "usmcd1vms036" -Remote_Path "E$\LST" +# .\update-controllers.ps1 -App_Path "C:\Users\matthes01\Documents\lst" -Token "usiow2" -BuildController yes -PlantToUpdate "usiow1vms006" -Remote_Path "D$\LST\lst_2" # .\update-controllers.ps1 -App_Path "C:\Users\matthes01\Documents\lst" -Token "test3" -BuildController yes $Plants = @( @@ -24,6 +24,10 @@ $Plants = @( @{ Server = "usbow1vms006"; Token = "usbow1" ; Remote_Path = "E$\LST" } @{ Server = "usbow2vms006"; Token = "usbow2" ; Remote_Path = "E$\LST" } @{ Server = "usday1vms006"; Token = "usday1" ; Remote_Path = "E$\LST" } + @{ Server = "usflo1vms006"; Token = "usflo1" ; Remote_Path = "E$\LST" } + @{ Server = "usiow1vms006"; Token = "usiow1" ; Remote_Path = "D$\LST\lst" } + @{ Server = "usiow1vms006"; Token = "usiow2" ; Remote_Path = "D$\LST\lst_2" } + @{ Server = "usmcd1vms006"; Token = "usmcd1" ; Remote_Path = "E$\LST" } @{ Server = "usslc1vms006"; Token = "usslc1" ; Remote_Path = "E$\LST" } @{ Server = "usstp1vms006"; Token = "usstp1" ; Remote_Path = "D$\LST" } @{ Server = "usksc1vms006"; Token = "usksc1" ; Remote_Path = "E$\LST" }