This commit is contained in:
2018-11-26 19:03:00 +00:00
parent 27ee937b76
commit 657ffc8d09
2 changed files with 19 additions and 5 deletions

View File

@@ -5,6 +5,13 @@ Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTQyNjY5Njc3IiwiZXhwIjoi
## IMMEDIATE ITEMS
DEVOPS
- Wipe the server, create new at v 18 (or try the upgrade first just for kicks)
- Upgrade in place process: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-18-04
- Make devops AyaNova barebones without docker?
- Look into pros and cons because ultimately we'll want to run a bunch, maybe on demand, how to do that automatically?
- initially probably manuall set up so really not an affect either way as will just need to dedicate a port to each one regardless if dockerized or not
- We do want fastest perf though and no aggravation or cross exposure
- Dist to devops and test on devices
- Need workbox local

View File

@@ -182,26 +182,29 @@ POTENTIALLY USEFUL VUE / GENERAL COMPONENTS AND PLUGINS
### DEPLOY TO DIGITAL OCEAN TEST SERVER
- PUBLISH:
CLIENT
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
SERVER
BUILD SERVER
- Make sure docs are built, use makedocs batch file which will build and put in wwwRoot folder
- Make sure updated version number first!!
- Need to be in C:\data\code\raven\server\AyaNova\
- Then run command:
- dotnet publish -o C:\data\code\raven\dist\docker\linux-x64\ayanovadocker\files\ -c Release
- COPY
- COPY TO SERVER
- Use filezilla to copy files that are new up to server
- Copy to "/home/john/xfer/ayanovadocker/files"
- These two files (and any other changes that are relevant)
- C:\data\code\raven\dist\docker\linux-x64\ayanovadocker\files\AyaNova.dll
- C:\data\code\raven\dist\docker\linux-x64\ayanovadocker\files\AyaNova.pdb
- CONSOLE TO SERVER VIA PUTTY
- Bring down current containers:
- navigate to ~/xfer folder
@@ -480,3 +483,7 @@ Browse to localhost 5050
Can view the status of all containers with
docker ps -a
ICON GENERATOR
=-=-=-=-=-=-=-=-
- Used to generate pwa icons from source svg: http://cthedot.de/icongen/