PostService with job reply
This commit is contained in:
@ -11,17 +11,16 @@ mkdir /var/www
|
||||
mkdir /var/www/Barcode-Host
|
||||
mkdir /var/www/Barcode-Host/Server
|
||||
cd /home/unity4/Barcode-Host/Server
|
||||
dotnet user-secrets init
|
||||
dotnet user-secrets set "SerialPortName" ""
|
||||
dotnet user-secrets set "RootPassword" "asdf"
|
||||
dotnet user-secrets set "EquipmentName" "BIORAD4"
|
||||
dotnet user-secrets set "FileShare" "\\\mestsa003.infineon.com\\EC_Metrology_Si\\BarcodeHost\\API"
|
||||
dotnet user-secrets list
|
||||
dotnet publish --configuration Release --output /var/www/Barcode-Host/Server
|
||||
dotnet nuget list source
|
||||
dotnet nuget remove source nuget.org
|
||||
dotnet build --source https://api.nuget.org/v3/index.json
|
||||
dotnet publish --configuration Release --output /var/www/Barcode-Host/Server --source https://api.nuget.org/v3/index.json
|
||||
cd /var/www/Barcode-Host/Server
|
||||
dotnet /var/www/Barcode-Host/Server/Barcode.Host.Server.dll
|
||||
systemctl start barcode-host.service
|
||||
```
|
||||
|
||||
```bash
|
||||
nano /etc/fstab
|
||||
10.95.176.46:EC_Metrology_Si /var/locally-mounted/eaf-dev.mes.infineon.com nfs defaults 0 0
|
||||
@ -36,6 +35,7 @@ smbclient --list=10.95.128.34 --no-pass
|
||||
apt install smbclient
|
||||
ecmesEAF-10.95.128.34-mestsa07ec(A-Both)
|
||||
```
|
||||
|
||||
```conf
|
||||
2023-06-03 16:02:25.011 -07:00 [Information] (Barcode.Host.Server.Program.) () () Starting Web Application
|
||||
2023-06-03 16:02:25.062 -07:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () User profile is available. Using '"/root/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest.
|
||||
@ -45,6 +45,7 @@ ecmesEAF-10.95.128.34-mestsa07ec(A-Both)
|
||||
2023-06-03 16:02:25.176 -07:00 [Information] (Microsoft.Hosting.Lifetime.) () () Hosting environment: "Production"
|
||||
2023-06-03 16:02:25.176 -07:00 [Information] (Microsoft.Hosting.Lifetime.) () () Content root path: "/var/www/Barcode-Host/Server"
|
||||
```
|
||||
|
||||
```bash
|
||||
links http://localhost:5003/api/lastScan
|
||||
```
|
||||
|
Reference in New Issue
Block a user