intials app

This commit is contained in:
2025-08-26 15:25:09 -05:00
parent 10b56bf31f
commit d3fd5aa653
59 changed files with 22132 additions and 29 deletions

View File

@@ -0,0 +1,7 @@
{
"label": "Install",
"position": 3,
"link": {
"type": "generated-index"
}
}

View File

@@ -0,0 +1,11 @@
---
sidebar_position: 2
---
# 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -0,0 +1,61 @@
---
sidebar_position: 1
---
# Run as a service
To run LST as a serive there are 2 options to accomplish this
## Install
Utlizing the powershell script that is in the scripts folder
Open vscode once again or clear the termnial if you still have it open.
Next run the code below.
```bash
.\scripts\services.ps1 -serviceName "LST_app" -option "install" -appPath "E:\LST" -description "Logistics Support Tool" -command "run start"
```
This will
- Create a windows service using NSSM and call it LST_app
- It will also set the restart policy to restart 3 times
- It will depend on MSQLServer to make sure this is up and running before we try to connect to it
- It will start the node app
- And Lastly will set it to auto start once the server comes up.
## Stop the Service
To stop the service you can utilize the same script
```bash
.\scripts\services.ps1 -serviceName "LST_app" -option "stop" -appPath "E:\LST"
```
This will completely stop the service and you will need to start it
## Start the Service
Yet again utlizeing the same script
```bash
.\scripts\services.ps1 -serviceName "LST_app" -option "start" -appPath "E:\LST"
```
## Deleteing the Service
This will compeltely remove the service from the server
```bash
.\scripts\services.ps1 -serviceName "LST_app" -option "delete" -appPath "E:\LST"
```
## Restart
This will stop the service wait 2 seconds and restart the service
```bash
.\scripts\services.ps1 -serviceName "LST_app" -option "restart" -appPath "E:\LST"
```