App/Web server
Preparation
Make sure the server has the required software:
Windows: Any known working version
IIS: Any known working version
DotNet framework: Full DotNet framework runtime 4.8 (or higher)
DotNet core hosting: DotNet core hosting bundle (3.0.0 or higher)
Then, put all the following in a folder on the server (typically ‘c:\temp\install’):
An environment description file
An environment secrets file
A copy of azure-deploy-functions.psm1
A copy of Setup-Environment.ps1
all\TheCompanyTest-Environment-Secrets.json" app-test
Now you are ready to run the setup script:
.\Setup-Environment.ps1 "c:\temp\install\TheCompanyTest-Environment.json" "c:\temp\inst
On windows server 2019 the WebAdministration module might be missing. If this is the case run:
Install-WindowsFeature web-mgmt-console
Then run the setup script again.
What the setup script does
Attempt to enable all required IIS features.
Create the Naktergal directory.
Create a Deployment directory with appsettings and connectionstrings for all modules and a deployment script that - together with a packaged version (zip file) - can install a new version.
Generate a certificate used by the user module.
Generate encryption keys.
Generate a service registry.
Verify
Once the installation is done, the document structure should look like this image. If not, reach out to us at support@naktergal.tech.
