From ff5fe4cde6ddfc79efdd0a117c2975fd0138d418 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 18 Jul 2021 20:34:27 +0000 Subject: [PATCH] --- notes/deploy.txt | 10 +++++++++- util/RfVersion.cs | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/notes/deploy.txt b/notes/deploy.txt index 463f77d..e4f4578 100644 --- a/notes/deploy.txt +++ b/notes/deploy.txt @@ -17,8 +17,16 @@ dotnet publish -c Release -o ./../publish/ --no-self-contained -r linux-x64 2.5) Runtime - make sure if runtime changed that server has latest +2.7) remove old backup just delete it's in /srv/coreapps/rockfish.last + +2.8) BACKUP backup old version and db etc with this command run from /srv/coreapps folder: +cp -r rockfish rockfish.last + +2.9) delete all in rockfish folder except db folder + 3) COPY -Copy over to production server, +Copy over to production server, safest is all files from publish into /srv/coreapps/rockfish + .NET Core apps: /srv/coreapps only need the .dll and the wwwroot folder contents, remember not to delete the folders on the server only replace their contents because there are file permissions set diff --git a/util/RfVersion.cs b/util/RfVersion.cs index 69a6d9c..b447c75 100644 --- a/util/RfVersion.cs +++ b/util/RfVersion.cs @@ -2,7 +2,7 @@ namespace rockfishCore.Util { public static class RfVersion { - public const string NumberOnly="6.11"; + public const string NumberOnly="6.12"; public const string Full = "Rockfish server " + NumberOnly; } } \ No newline at end of file