Add build instructions
This commit is contained in:
parent
4629bc5ddf
commit
0842fd37f4
43
README.md
43
README.md
@ -1,3 +1,46 @@
|
|||||||
# chksum
|
# chksum
|
||||||
|
|
||||||
Checksums every file under the current directory
|
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
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user