diff --git a/notes/notes b/notes/notes index d3b4735..2a7478e 100644 --- a/notes/notes +++ b/notes/notes @@ -59,12 +59,16 @@ publish command line from pecklist folder: dotnet publish -c Release -o ./../publish/ --no-self-contained -r linux-x64 //This is what I have seen online, not sure why the -f is necessary or useful, the build is the exact same size as above, have a question in to stackoverflow about it +//#### netcoreapp2?? This can't be right: dotnet publish -f netcoreapp2.1 -c Release -o ./../publish/ //if need a debug version dotnet publish -o ./../publish/ 3) COPY + +## MAKE BACKUP FIRST: cp -R pecklist pecklist_backup + Copy over to production server, 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 Windows file permissions set