diff --git a/README.md b/README.md new file mode 100644 index 0000000..061c388 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# Stitch a Ton +Solution by Meizar (meizar.rimadana@formulatrix.com) + + +## Requirement +- .Net SDK 6.0 +- OpenCVSharp4 4.11 + +## Setup +- Change the environment variables `ASSET_PATH_RO` in `WebApp/Properties/launchSettings.json` +- Http port can be changed as needed + +## Publish and Run +Publish with targeting `linux-arm64` runtime +``` +cd ./WebApp +dotnet publish -r linux-arm64 -c release --self-contained +``` + +Go to the publish folder +``` +cd bin/release/net6.0/linux-arm64/publish +``` + +Make it executable +``` +chmod +x WebApp +``` + +Run +``` +./WebApp +``` + +Or, if the OpenCV4 has been installed, just run it +``` +cd WebApp +dotnet run +``` \ No newline at end of file diff --git a/WebApp/WebApp.csproj b/WebApp/WebApp.csproj index 41d6f81..5536a74 100644 --- a/WebApp/WebApp.csproj +++ b/WebApp/WebApp.csproj @@ -9,8 +9,10 @@ + +