From 9ac57aa7eebf1b3b32071ce80d2943024fe2b726 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 8 Apr 2019 21:57:29 +0000 Subject: [PATCH] --- buildrelease.bat | 2 ++ devdocs/deploy.txt | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 buildrelease.bat diff --git a/buildrelease.bat b/buildrelease.bat new file mode 100644 index 00000000..6183a52d --- /dev/null +++ b/buildrelease.bat @@ -0,0 +1,2 @@ +cd C:\data\code\raven\server\AyaNova\ +dotnet publish -o C:\data\code\raven\dist\docker\linux-x64\ayanovadocker\files\ -c Release diff --git a/devdocs/deploy.txt b/devdocs/deploy.txt index 8aa298cb..2c7b185f 100644 --- a/devdocs/deploy.txt +++ b/devdocs/deploy.txt @@ -6,11 +6,12 @@ PUBLISH TO DEVOPS STEPS BUILD CLIENT - - Clean out the last build in the server wwwRoot folder at: C:\data\code\raven\server\AyaNova\wwwroot - - Delete all but the \docs subfolder that contains the AyaNova manual unless planning on rebuilding that as well - - Go to client folder: C:\data\code\raven\app\ayanova - - Run npm run build - - Copy build from C:\data\code\raven\app\ayanova\dist to server wwwRoot folder: C:\data\code\raven\server\AyaNova\wwwroot + - Now all automated, just run buildrelease.bat in client project folder + - Clean out the last build in the server wwwRoot folder at: C:\data\code\raven\server\AyaNova\wwwroot + - Delete all but the \docs subfolder that contains the AyaNova manual unless planning on rebuilding that as well + - Go to client folder: C:\data\code\raven\app\ayanova + - Run npm run build + - Copy build from C:\data\code\raven\app\ayanova\dist to server wwwRoot folder: C:\data\code\raven\server\AyaNova\wwwroot BUILD SERVER - Make sure docs are built, use makedocs batch file which will build and put in wwwRoot folder