Compare commits
4 Commits
0.0.1-alph
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 17da27123e | |||
| f429512a14 | |||
| 933d194e5c | |||
| 162fd61936 |
@@ -19,13 +19,13 @@ jobs:
|
|||||||
- name: "Dotnet SDK einrichten"
|
- name: "Dotnet SDK einrichten"
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: "10.0.x"
|
dotnet-version: "9.0.x"
|
||||||
- name: "Oqtane Framework restore"
|
- name: "Oqtane Framework restore"
|
||||||
run: dotnet restore ./oqtane.framework/Oqtane.slnx --verbosity detailed
|
run: dotnet restore ./oqtane.framework/Oqtane.sln --verbosity detailed
|
||||||
- name: "Oqtane Framework bauen"
|
- name: "Oqtane Framework bauen"
|
||||||
run: dotnet build -c Release ./oqtane.framework/Oqtane.slnx
|
run: dotnet build -c Release ./oqtane.framework/Oqtane.sln
|
||||||
- name: "Oqtane Framework publish"
|
- name: "Oqtane Framework publish"
|
||||||
run: dotnet publish -c Release ./oqtane.framework/Oqtane.slnx -o ./alumnihub_10.0_amd64/opt/alumnihub
|
run: dotnet publish -c Release ./oqtane.framework/Oqtane.sln -o ./alumnihub_10.0_amd64/opt/alumnihub
|
||||||
- name: "Build .deb"
|
- name: "Build .deb"
|
||||||
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
|
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
|
||||||
- name: "Upload .deb"
|
- name: "Upload .deb"
|
||||||
|
|||||||
@@ -2,6 +2,6 @@ Package: alumnihub
|
|||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Essential: no
|
Essential: no
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Depends: aspnetcore-runtime-10.0,nginx,postgresql-18
|
Depends: aspnetcore-runtime-9.0,nginx,postgresql-18
|
||||||
Maintainer: kocoder
|
Maintainer: kocoder
|
||||||
Description: Our production oqtane setup
|
Description: Our production oqtane setup
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
adduser --system alumnihub
|
||||||
@@ -1,2 +1 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
deluser oqtane
|
|
||||||
@@ -1,2 +1 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
useradd oqtane
|
|
||||||
@@ -2,14 +2,14 @@
|
|||||||
Description=Alumnihub Webservice
|
Description=Alumnihub Webservice
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/opt/oqtane
|
WorkingDirectory=/opt/alumnihub
|
||||||
ExecStart=/usr/bin/dotnet /opt/alumnihub/Oqtane.Server.dll
|
ExecStart=/usr/bin/dotnet /opt/alumnihub/Oqtane.Server.dll
|
||||||
Restart=always
|
Restart=always
|
||||||
# Restart service after 10 seconds if the dotnet service crashes:
|
# Restart service after 10 seconds if the dotnet service crashes:
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
KillSignal=SIGINT
|
KillSignal=SIGINT
|
||||||
SyslogIdentifier=alumnihub
|
SyslogIdentifier=alumnihub
|
||||||
User=oqtane
|
User=alumnihub
|
||||||
Environment=ASPNETCORE_ENVIRONMENT=Production
|
Environment=ASPNETCORE_ENVIRONMENT=Production
|
||||||
Environment=ASPNETCORE_URLS="http://127.0.0.1:5000"
|
Environment=ASPNETCORE_URLS="http://127.0.0.1:5000"
|
||||||
Environment=ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
|
Environment=ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
|
||||||
|
|||||||
Submodule oqtane.framework updated: f3175b6b06...6a43bcf458
Reference in New Issue
Block a user