diff --git a/lstDocs/docs/install-extras/iis.md b/lstDocs/docs/install-extras/iis.md index c2d41b5..74aee20 100644 --- a/lstDocs/docs/install-extras/iis.md +++ b/lstDocs/docs/install-extras/iis.md @@ -9,3 +9,71 @@ 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 + + ![](./img/applicationPools.png) + +3. Right click and create application + + ![](./img/createApplicationPool.png) + +4. Name is Logistics Support Tool + +- Change .NET CLR verion to not managed +- leave the rest as default + + ![](./img/pool.png) + +## Create the website + +1. Expand the Sites + +![](./img/defaultsite.png) + +2. Right click on default site and click "Add Application..." + +![](./img/addApplication.png) + +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 +``` + +![](./img/application.png) + +## 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 +
+``` + +Change it to: + +```xml +
+``` + +Save and restart IIS: + +```bash +iisreset +``` diff --git a/lstDocs/docs/install-extras/img/addApplication.png b/lstDocs/docs/install-extras/img/addApplication.png new file mode 100644 index 0000000..e64df2f Binary files /dev/null and b/lstDocs/docs/install-extras/img/addApplication.png differ diff --git a/lstDocs/docs/install-extras/img/application.png b/lstDocs/docs/install-extras/img/application.png new file mode 100644 index 0000000..ab7e2c9 Binary files /dev/null and b/lstDocs/docs/install-extras/img/application.png differ diff --git a/lstDocs/docs/install-extras/img/applicationPools.png b/lstDocs/docs/install-extras/img/applicationPools.png new file mode 100644 index 0000000..35a059a Binary files /dev/null and b/lstDocs/docs/install-extras/img/applicationPools.png differ diff --git a/lstDocs/docs/install-extras/img/createApplicationPool.png b/lstDocs/docs/install-extras/img/createApplicationPool.png new file mode 100644 index 0000000..2ea33fa Binary files /dev/null and b/lstDocs/docs/install-extras/img/createApplicationPool.png differ diff --git a/lstDocs/docs/install-extras/img/defaultsite.png b/lstDocs/docs/install-extras/img/defaultsite.png new file mode 100644 index 0000000..baf7508 Binary files /dev/null and b/lstDocs/docs/install-extras/img/defaultsite.png differ diff --git a/lstDocs/docs/install-extras/img/pool.png b/lstDocs/docs/install-extras/img/pool.png new file mode 100644 index 0000000..8da4e13 Binary files /dev/null and b/lstDocs/docs/install-extras/img/pool.png differ diff --git a/lstDocs/docs/install.md b/lstDocs/docs/install.md index f814983..a3837ec 100644 --- a/lstDocs/docs/install.md +++ b/lstDocs/docs/install.md @@ -30,6 +30,19 @@ Get the latest build **From Azure**. - [Postgres](https://www.postgresql.org/download/); - This is the DB of choice. +## Other Items + +### Firewall rules + +If you will be using lst app on a tablet or scanner you will need to have 443 open +please request this from IT + +- Logistics network as the source +- Alpla prod server ip as the destination +- ports to open + - 443 # to access via https:// + - 3000 # This is in case you need to go direct to the app utlizing an ip:port + ## Creating the app Create a new directory where all you will host the app recommeneded @@ -52,6 +65,7 @@ LST/ │ ├── main.js ├── frontend/ │ ├── dist # Frontend app +│ ├── public ├── lstDocs/ │ ├── build # Docs on the entire app ├── lstWrapper/ @@ -67,6 +81,11 @@ LST/ ├── package-lock.json ├── README.md ├── CHANGELOG.md +├── Dockerfile +├── docker-compose.yml +├── drizzle.config.ts +├── migrations # for all the db migrations +├── LICENSE ``` ## Doing the intial setup