Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CS425_MP1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trangtd2
CS425_MP1
Commits
b5834238
Commit
b5834238
authored
2 years ago
by
maitp2
Browse files
Options
Downloads
Plain Diff
Merge branch 'update_readme' into 'main'
Update readme See merge request trangtd2/cs425_mp1!11
parents
18337d14
210d2d13
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+11
-2
11 additions, 2 deletions
README.md
files/configTest.txt
+1
-1
1 addition, 1 deletion
files/configTest.txt
with
12 additions
and
3 deletions
README.md
+
11
−
2
View file @
b5834238
...
...
@@ -8,7 +8,9 @@
1.
ssh to VM:
```ssh <NETID>@fa22-cs425-NNXX.cs.illinois.edu```
2.
```git clone https://gitlab.engr.illinois.edu/trangtd2/cs425_mp1.git```
3.
cd to project dir
4.
In order to run server on single machine/VM, run the jar file:
4.
The program is compiled to two jar files:
```out/artifacts/grep_server_jar/grep.jar```
(server execution jar file)
and
```out/artifacts/grep_client_jar/grep.jar```
(client execution jar file)
<br>
In order to run server on single machine/VM, run the jar file:
```
java -jar out/artifacts/grep_server_jar/grep.jar -p 5000
```
...
...
@@ -24,4 +26,11 @@ java -jar out/artifacts/grep_client_jar/grep.jar -cf <configFile> --command "gre
### Unit test
User run unit test in
```GrepTest.java```
However, this test is test for 10 VMs with config file is in
```files/config.txt```
and actual test result is in
```files/test_result```
\ No newline at end of file
This test is test for 10 VMs with config file is in
```files/config.txt```
, therefore it is required to keep all 10
servers running and actual test result is in
```files/test_result```
### Note
1.
``` files/bash/send_log.sh```
: use to push demo data (provided demo data) to all 10 VMs
2.
```files/bash/send_jars.sh```
: use to send all client execution jar and server execution jar to all 10 VMs
3.
```files/bash/run_jars.sh```
: use to run all servers from local machine
4.
```files/bash/kill_process.sh```
: use to kill server processes running in all 10 VMs
\ No newline at end of file
This diff is collapsed.
Click to expand it.
files/configTest.txt
+
1
−
1
View file @
b5834238
localhost 5000 /home/maipham/uiuc/cs425/mp1/grep/files/generated_log/test.log
\ No newline at end of file
localhost 5000 ./files/generated_log/test.log
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment