Skip to content

Commit 85c9731

Browse files
author
Jegors Čemisovs
authored
Merge pull request #45 from rabestro/readme
Readme
2 parents 196e6e4 + b1bb4d6 commit 85c9731

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

graph-shell/README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
layout: post
32
title: Sample application: Graph Shell
43
---
54

@@ -12,19 +11,19 @@ To demonstrate the work of search algorithms, I made a small console program. Th
1211
To compile the program, use the command:
1312

1413
```shell
15-
~/algorithms/graph-shell$ gradle assemble
14+
$ gradle assemble
1615
```
1716

1817
This command will create an executable jar, so in Linux or macOS you may run the application by
1918

2019
```shell
21-
~/algorithms/graph-shell$ ./build/libs/graph-shell-1.0-SNAPSHOT.jar
20+
$ ./build/libs/graph-shell-1.0-SNAPSHOT.jar
2221
```
2322

2423
On the Windows machine you should run the application using java:
2524

2625
```shell
27-
~/algorithms/graph-shell$ java -jar ./build/libs/graph-shell-1.0-SNAPSHOT.jar
26+
$ java -jar ./build/libs/graph-shell-1.0-SNAPSHOT.jar
2827
```
2928

3029
## Using Graph Shell
@@ -38,13 +37,13 @@ graph=simple
3837
Alternatively you may specify the command line parameter when you run the application:
3938

4039
```shell
41-
~/algorithms/graph-shell$ ./build/libs/graph-shell-1.0-SNAPSHOT.jar --graph=medium
40+
$ ./build/libs/graph-shell-1.0-SNAPSHOT.jar --graph=medium
4241
```
4342

4443
After starting the program you will see the banner and the prompt indicating the current graph scheme.
4544

4645
```shell
47-
jegors@X570UD:~/IdeaProjects/algorithms/graph-shell$ ./build/libs/graph-shell-1.0-SNAPSHOT.jar
46+
$ ./build/libs/graph-shell-1.0-SNAPSHOT.jar
4847

4948
_____ _ _____ _ _ _
5049
/ ____| | | / ____| | | | | | |

0 commit comments

Comments
 (0)