This commit is contained in:
2019-04-08 21:57:29 +00:00
parent 7d3161dc51
commit 9ac57aa7ee
2 changed files with 8 additions and 5 deletions

2
buildrelease.bat Normal file
View File

@@ -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

View File

@@ -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