mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 03:11:10 +00:00
Adds per-platform release artifacts and release image validation
This commit is contained in:
1 parent
92ab62011e
commit
68143dff25
19 files changed
+603
-115
No files matched your search
@@ -30,7 +30,7 @@ Everything from Configuration onward applies to whichever route you chose.
|
||||
|
||||
## Before you start
|
||||
|
||||
- **Docker**, if you want the container route. For a non-container install, you need the Nemera application files, from a release package or installer, or from your own build, plus the **.NET 10 runtime** unless that package is self-contained. The **.NET 10 SDK** is only needed if you build from source.
|
||||
- **Docker**, if you want the container route. For a non-container install, you need the Nemera application files, from a release package or installer, or from your own build, plus the **ASP.NET Core Runtime 10** unless that package is self-contained. The **.NET 10 SDK** is only needed if you build from source.
|
||||
- **ffmpeg**, for any non-container install, however you obtained the application files. The API server uses it to remux or transcode audio that the browser cannot play as stored. The Docker API container image already includes it.
|
||||
- By default the **web client listens on port `5012`** and the **API on port `5214`**. You can change either, as long as the two agree on where the API is (see [Configuration](#configuration)).
|
||||
- For anything reachable beyond your own machine, put a **reverse proxy** in front to terminate TLS and forward to the web client.
|
||||
@@ -86,12 +86,25 @@ Use a release package or installer when one is available, or, with the .NET 10 S
|
||||
dotnet build Nemera.slnx
|
||||
```
|
||||
|
||||
The official release artifacts include the PDF plugin's native libraries for Linux x64 and ARM64 (including Alpine x64), macOS Intel and Apple Silicon, and Windows x64 and ARM64. The single release download works on those platforms; the plugin loads the native libraries that match the host at runtime.
|
||||
The official release is split into one API archive and one web archive per platform and architecture. Download both archives for your platform:
|
||||
|
||||
Run the API and the web client from the installed release package or from the published build. In development, their addresses come from each project's `launchSettings.json` (`http://localhost:5214` and `http://localhost:5012`). When you run a published build directly on a host, set the addresses yourself, either with `ASPNETCORE_URLS` or with `ASPNETCORE_HTTP_PORTS`:
|
||||
| Platform | API archive | Web archive |
|
||||
| --- | --- | --- |
|
||||
| Linux x64 | `Nemera-<version>-linux-x64-api.tar.gz` | `Nemera-<version>-linux-x64-web.tar.gz` |
|
||||
| Linux ARM64 | `Nemera-<version>-linux-arm64-api.tar.gz` | `Nemera-<version>-linux-arm64-web.tar.gz` |
|
||||
| Linux x64 with musl, including Alpine | `Nemera-<version>-linux-musl-x64-api.tar.gz` | `Nemera-<version>-linux-musl-x64-web.tar.gz` |
|
||||
| macOS Intel | `Nemera-<version>-macos-x64-api.tar.gz` | `Nemera-<version>-macos-x64-web.tar.gz` |
|
||||
| macOS Apple Silicon | `Nemera-<version>-macos-arm64-api.tar.gz` | `Nemera-<version>-macos-arm64-web.tar.gz` |
|
||||
| Windows x64 | `Nemera-<version>-windows-x64-api.zip` | `Nemera-<version>-windows-x64-web.zip` |
|
||||
| Windows x86 | `Nemera-<version>-windows-x86-api.zip` | `Nemera-<version>-windows-x86-web.zip` |
|
||||
| Windows ARM64 | `Nemera-<version>-windows-arm64-api.zip` | `Nemera-<version>-windows-arm64-web.zip` |
|
||||
|
||||
Each archive contains only the files for its platform and architecture. The API archive includes the bundled plugins and the PDF plugin's native libraries for that platform. Extract both archives into separate folders.
|
||||
|
||||
When using the release package, run the API and the web client from the folders you extracted. On Windows, start `Nemera.Presentation.Api.exe` and `Nemera.Presentation.Web.exe`. On Linux and macOS, start `./Nemera.Presentation.Api` and `./Nemera.Presentation.Web`. The API listens on `http://localhost:5214` and the web client on `http://localhost:5012` by default. Set `ASPNETCORE_URLS`, `ASPNETCORE_HTTP_PORTS` or `ASPNETCORE_HTTPS_PORTS` only when you need different addresses:
|
||||
|
||||
```bash
|
||||
ASPNETCORE_HTTP_PORTS=5012 dotnet Nemera.Presentation.Web.dll
|
||||
ASPNETCORE_URLS=http://0.0.0.0:5012 ./Nemera.Presentation.Web
|
||||
```
|
||||
|
||||
The API creates its SQLite database (`Nemera.db`) next to its own binary and applies any pending migrations at startup, so the first launch sets up the schema on its own.
|
||||
|
||||
Reference in new issue
Block a user