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