update README.md

This commit is contained in:
Renjaya Raga Zenta 2025-07-31 01:59:13 +07:00
parent d6326d4471
commit 42ec9a58c1

View file

@ -8,16 +8,16 @@
## How to run ## How to run
0. This project uses ASP.Net AoT, please don't forget to install `zlib1g-dev`. **0. This project uses ASP.Net AoT**, please don't forget to install `zlib1g-dev`.
1. Publish it **1. Publish it**
- Enter `src/Oh.My.Stitcher` - Enter `src/Oh.My.Stitcher`
- `dotnet publish -c Release -r linux-arm64` - `dotnet publish -c Release -r linux-arm64`
2. Run it **2. Run it**
- Enter `src/Oh.My.Stitcher/bin/Release/net8.0/linux-arm64/publish` - Enter `src/Oh.My.Stitcher/bin/Release/net8.0/linux-arm64/publish`
- `ASPNETCORE_URLS="http://+:5000" ASSET_PATH_RO="/path/to/tiles" ./Oh.My.Stitcher` - `ASPNETCORE_URLS="http://+:5000" ASSET_PATH_RO="/path/to/tiles" ./Oh.My.Stitcher`
- Go to http://<ip-address>:5000/ - Go to http://ip-address:5000/
## Caching ## Caching