workload restore

This commit is contained in:
Paul Schneider 2026-06-07 01:11:23 +01:00
commit 3a1ca2c8ff
2 changed files with 12 additions and 2 deletions

View file

@ -2,7 +2,7 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src WORKDIR /src
COPY . . COPY . .
RUN dotnet workload install android RUN dotnet workload restore
RUN dotnet nuget add source https://isn.pschneider.fr/v3/index.json --allow-insecure-connections RUN dotnet nuget add source https://isn.pschneider.fr/v3/index.json --allow-insecure-connections
RUN dotnet publish src/Yavsc.Org/Yavsc.Org.csproj -c Release -o /app/publish RUN dotnet publish src/Yavsc.Org/Yavsc.Org.csproj -c Release -o /app/publish

View file

@ -1,6 +1,6 @@
# Install # Install
With internet access, Git, dotnet, and GNU/Makefile, simply follow these instructions: With internet access, Git, dotnet, and GNU/Makefile, simply follow these instructions, in order to have the server part installed:
```bash ```bash
git clone https://github.com/pschneider/yavsc.git git clone https://github.com/pschneider/yavsc.git
@ -10,6 +10,16 @@ cd contrib
make install make install
``` ```
About the mobile app,
```bash
cd src/PostIt/PostIt.Android
dotnet publish -c Release
```
and then, install the app, from the `src/PostIt/PostIt.Android/bin/Release/net10.0/PostIt.apk`
## Resources ## Resources
System resources needed to install. System resources needed to install.