This commit is contained in:
@@ -59,12 +59,16 @@ publish command line from pecklist folder:
|
|||||||
dotnet publish -c Release -o ./../publish/ --no-self-contained -r linux-x64
|
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
|
//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/
|
dotnet publish -f netcoreapp2.1 -c Release -o ./../publish/
|
||||||
|
|
||||||
//if need a debug version
|
//if need a debug version
|
||||||
dotnet publish -o ./../publish/
|
dotnet publish -o ./../publish/
|
||||||
|
|
||||||
3) COPY
|
3) COPY
|
||||||
|
|
||||||
|
## MAKE BACKUP FIRST: cp -R pecklist pecklist_backup
|
||||||
|
|
||||||
Copy over to production server, only need the .dll and the wwwroot folder contents,
|
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
|
remember not to delete the folders on the server only replace their contents because there are Windows file permissions set
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user