Ready to test in Fab
This commit is contained in:
35
.kanbn/tasks/publish.md
Normal file
35
.kanbn/tasks/publish.md
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
---
|
||||
|
||||
# publish
|
||||
|
||||
```bash
|
||||
sudo -i
|
||||
systemctl stop barcode-host.service
|
||||
rm -r /var/www/Barcode-Host/Server
|
||||
mkdir /var/www
|
||||
mkdir /var/www/Barcode-Host
|
||||
mkdir /var/www/Barcode-Host/Server
|
||||
cd /home/unity4/Barcode-Host/Server
|
||||
dotnet publish --configuration Release --output /var/www/Barcode-Host/Server
|
||||
cd /var/www/Barcode-Host/Server
|
||||
dotnet /var/www/Barcode-Host/Server/Barcode.Host.Server.dll
|
||||
```
|
||||
```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.
|
||||
2023-06-03 16:02:25.093 -07:00 [Information] (Barcode.Host.Server.HostedService.TimedHostedService.StartAsync) () () Timed Hosted Service: 1234567:3070 running.
|
||||
2023-06-03 16:02:25.175 -07:00 [Information] (Microsoft.Hosting.Lifetime.) () () Now listening on: "http://localhost:5003"
|
||||
2023-06-03 16:02:25.175 -07:00 [Information] (Microsoft.Hosting.Lifetime.) () () Application started. Press Ctrl+C to shut down.
|
||||
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
|
||||
```
|
||||
|
||||
## Sub-tasks
|
||||
|
||||
- [ ] phares3757
|
||||
- [x] unity4
|
||||
- [x] unity5
|
Reference in New Issue
Block a user