82 lines
1.7 KiB
Markdown
82 lines
1.7 KiB
Markdown
---
|
|
sidebar_position: 3
|
|
id: install-iis
|
|
---
|
|
|
|
# Runing in IIS (Internet Information Services)
|
|
|
|
This is the Approved way of running via windows and utlizing HTTPS
|
|
|
|
This process is optional and not needed to run the app.
|
|
|
|
Please note that if you plan to utlize the scanner app you must use IIS to run as PWA apps requires ssl
|
|
|
|
## Creating the application
|
|
|
|
1. Open IIS
|
|
2. Expand the plant and select application pools
|
|
|
|

|
|
|
|
3. Right click and create application
|
|
|
|

|
|
|
|
4. Name is LogisticsSupportTool
|
|
- NOTE: You must not have spaces due to other scripts utlizing this name for updating.
|
|
|
|
- Change .NET CLR verion to not managed
|
|
- leave the rest as default
|
|
|
|

|
|
|
|
## Create the website
|
|
|
|
1. Expand the Sites
|
|
|
|

|
|
|
|
2. Right click on default site and click "Add Application..."
|
|
|
|

|
|
|
|
3. Fill out the form like below
|
|
|
|
- For the Alias Enter LST
|
|
- Change the Application pool to Logistics Support Tool
|
|
- Change the phycical path to the path that you have the lst wrapper in, below is the example we used to install the app from the install instructions.
|
|
|
|
```bash
|
|
E:\LST\lstWrapper\publish
|
|
```
|
|
|
|

|
|
|
|
## Making sure websocket is enabled
|
|
|
|
By default websocket is disbabled and we need this in order to run the app.
|
|
|
|
Open:
|
|
|
|
```bash
|
|
C:\Windows\System32\inetsrv\config\applicationHost.config
|
|
```
|
|
|
|
Search inside for the section definition:
|
|
|
|
```xml
|
|
<section name="webSocket" overrideModeDefault="Deny" />
|
|
```
|
|
|
|
Change it to:
|
|
|
|
```xml
|
|
<section name="webSocket" overrideModeDefault="Allow" />
|
|
```
|
|
|
|
Save and restart IIS:
|
|
|
|
```bash
|
|
iisreset
|
|
```
|