From 0842fd37f4cf6c35acfd0e4ed44242b236ceae1f Mon Sep 17 00:00:00 2001 From: ProfessionalUwU Date: Tue, 16 May 2023 00:48:24 +0200 Subject: [PATCH] Add build instructions --- README.md | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b57c6c9..6142762 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,46 @@ # chksum -Checksums every file under the current directory \ No newline at end of file +Checksums every file under the current directory + +## Run Locally + +Clone the project + +```bash + git clone http://192.168.0.69:3000/ProfessionalUwU/chksum.git +``` + +Go to the project directory + +```bash + cd chksum +``` + +Install dependencies + +```bash + pacman -S dotnet-runtime dotnet-sdk +``` + +Build project + +```bash + dotnet build chksum.csproj +``` + +Publish project + +```bash + dotnet publish --configuration Release --arch x64 --use-current-runtime --self-contained +``` + +Go to the publish folder +```bash + cd /bin/Release/net7.0/linux-x64/publish +``` + +Run executable + +```bash + ./chksum +``` \ No newline at end of file