This commit is contained in:
2019-05-03 19:56:47 +00:00
parent 48af26e871
commit 734f73c4e3

View File

@@ -8,21 +8,23 @@ PUBLISH TO DEVOPS STEPS
BUILD CLIENT BUILD CLIENT
- BUMP VERSION NUMBER FIRST - BUMP VERSION NUMBER FIRST
- Now all automated, just run buildrelease.bat in client project folder - 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 - OLD MANUAL STEPS:
- Delete all but the \docs subfolder that contains the AyaNova manual unless planning on rebuilding that as well - Clean out the last build in the server wwwRoot folder at: C:\data\code\raven\server\AyaNova\wwwroot
- Go to client folder: C:\data\code\raven\app\ayanova - Delete all but the \docs subfolder that contains the AyaNova manual unless planning on rebuilding that as well
- Run npm run build - Go to client folder: C:\data\code\raven\app\ayanova
- Copy build from C:\data\code\raven\app\ayanova\dist to server wwwRoot folder: C:\data\code\raven\server\AyaNova\wwwroot - 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 BUILD SERVER
- BUMP VERSION NUMBER FIRST - BUMP VERSION NUMBER FIRST
- Now automated, run buildrelease.bat in server project folder - Now automated, run buildrelease.bat in server project folder
- Doesn't build docs but that's done by client build now - OLD MANUAL STEPS:
- Make sure docs are built, use makedocs batch file which will build and put in wwwRoot folder - Doesn't build docs but that's done by client build now
- Make sure updated version number first!! - Make sure docs are built, use makedocs batch file which will build and put in wwwRoot folder
- Need to be in C:\data\code\raven\server\AyaNova\ - Make sure updated version number first!!
- Then run command: - Need to be in C:\data\code\raven\server\AyaNova\
- dotnet publish -o C:\data\code\raven\dist\docker\linux-x64\ayanovadocker\files\ -c Release - Then run command:
- dotnet publish -o C:\data\code\raven\dist\docker\linux-x64\ayanovadocker\files\ -c Release
- COPY TO SERVER - COPY TO SERVER
- Use filezilla to copy files that are new up to server - Use filezilla to copy files that are new up to server