diff --git a/devdocs/todo.txt b/devdocs/todo.txt index d4d7be0a..3505f59e 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -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 diff --git a/devdocs/tools.txt b/devdocs/tools.txt index ad85c5c9..098012a7 100644 --- a/devdocs/tools.txt +++ b/devdocs/tools.txt @@ -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/ \ No newline at end of file