Add build instructions

This commit is contained in:
ProfessionalUwU 2023-05-16 00:48:24 +02:00
parent 4629bc5ddf
commit 0842fd37f4
Signed by: ProfessionalUwU
GPG Key ID: 013AD77C0A9DD3F2

View File

@ -1,3 +1,46 @@
# chksum
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
```