Skip to content

Commit b26b891

Browse files
committed
update README
1 parent a295104 commit b26b891

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ cd GitContentSearch
2323
**Build the application**:
2424

2525
```bash
26-
dotnet build
26+
dotnet publish -c Release
2727
```
2828

2929
**Add the executable folder to your PATH environment variable**
3030

3131
After building the application, you will want to add the folder containing the GitContentSearch.exe (or equivalent for your operating system) to your PATH environment variable. This allows you to run the tool from any directory in your command line.
3232

3333
* On Windows:
34-
* Find the folder where the executable is located, typically in the bin/Debug/netX.X directory inside the project folder.
34+
* Find the folder where the executable is located, typically in the bin/Release/netX.X/publish directory inside the project folder.
3535
* Open the System Properties and go to Environment Variables.
3636
* In the System variables section, find the Path variable and click Edit.
3737
* Add the full path to the folder containing the executable.
@@ -45,7 +45,7 @@ After building the application, you will want to add the folder containing the G
4545

4646
* Add the following line to include the folder in your PATH:
4747
```bash
48-
export PATH=$PATH:/path/to/your/git/repository/GitContentSearch/bin/Debug/netX.X
48+
export PATH=$PATH:/path/to/your/git/repository/GitContentSearch/bin/Release/netX.X/publish
4949
```
5050

5151
* Save the file and run:

0 commit comments

Comments
 (0)