This commit is contained in:
28
notes/deploy.txt
Normal file
28
notes/deploy.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
***********************
|
||||
HOW TO DEPLOY TO IIS
|
||||
https://stackify.com/how-to-deploy-asp-net-core-to-iis/
|
||||
|
||||
1) SET VERSION
|
||||
|
||||
SET app.api RFVERSION property
|
||||
RENAME ?RFV5.1 parameter in default.htm to the new version so all files update on mobile
|
||||
|
||||
|
||||
2) PUBLISH
|
||||
publish command line from rockfishCore folder:
|
||||
|
||||
//this will build a release version which is what we use on the server now
|
||||
dotnet publish -c Release -o ./../rfcpublish/
|
||||
|
||||
dotnet publish -f netcoreapp2.1 -c Release -o ./../rfcpublish/
|
||||
|
||||
//if need a debug version
|
||||
dotnet publish -o ./../rfcpublish/
|
||||
|
||||
3) COPY
|
||||
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
|
||||
Backup the database
|
||||
|
||||
4) Delete any test data local here
|
||||
Reference in New Issue
Block a user