Skip to content

Commit f1c6510

Browse files
Updated readme.md
1 parent 64bd47d commit f1c6510

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
* [Mac](#mac)
2020
* [Linux](#linux)
2121
- [Setup](#setup)
22+
- [Run](#run)
23+
* [VS Code](#vscode)
24+
* [Terminal](#terminal)
2225
---
2326

2427
<a id="introduction" />
@@ -115,3 +118,31 @@ echo "export PYSPARK_DRIVER_PYTHON_OPTS=''" >> ~/.zshrc
115118

116119
---
117120

121+
<a id="run" />
122+
123+
#### 3. Run
124+
125+
Since, this is a typical maven project, you can run it however you'd like to run a maven project. To facilitate you, we provide you two ways to run this project.
126+
127+
<a id="vscode" />
128+
129+
#### 3.1. VS Code
130+
131+
In you are using VS Code, change the `args` in the `Launch Main` configuration in `launch.json` file located at `.vscode` directory.
132+
133+
See the [main class](https://github.com/mohammadzainabbas/SDM-Lab-2/blob/zain/src/main/java/Main.java) for the supported arguments.
134+
135+
136+
<a id="terminal" />
137+
138+
#### 3.2. Terminal
139+
140+
Just run the following with the supported arguments:
141+
142+
```bash
143+
sh scripts/build_n_run.sh exercise1
144+
```
145+
146+
> Note: `exercise1` here is the argument which you'd need to run the first exercise
147+
148+
Again, you can check the [main class](https://github.com/mohammadzainabbas/SDM-Lab-2/blob/zain/src/main/java/Main.java) for the supported arguments.

0 commit comments

Comments
 (0)