Skip to content

Commit

Permalink
submit
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxvlin committed May 28, 2020
1 parent a57527a commit bcc5189
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
.mtj.tmp/

# Package Files #
*.jar
#*.jar
*.war
*.nar
*.ear
*.zip
#*.zip
*.tar.gz
*.rar

Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,21 @@ Shared whiteboards allow multiple users to draw simultaneously on a canvas. Ther
Other users can ask to join the whiteboard application any time by inputting server’s IP address and port number
- java JoinWhiteBoard <serverIPAddress> <serverPort> username

### steps
### start rmiregistry
1. ```cd output/production/distributed-shared-white-board```
2. ```start rmiregistry```
3. server ```java ```
4. create ```java ```
5. join ```java ```

### start app
1. ```cd submit```
2. server

```java -Djava.rmi.server.codebase=file:"E:\backup\code\java\distributed-shared-white-board\output\production\distributed-shared-white-board" -jar Server.jar 127.0.0.1 8001```
3. create whiteboard

```java -Djava.rmi.server.codebase=file:"E:\backup\code\java\distributed-shared-white-board\output\production\distributed-shared-white-board" -jar CreateWhiteboard.jar 127.0.0.1 8001 manager-xuliny```
4. join whiteboard

```java -Djava.rmi.server.codebase=file:"E:\backup\code\java\distributed-shared-white-board\output\production\distributed-shared-white-board" -jar JoinWhiteboard.jar 127.0.0.1 8001 user-peter```

## todo
### Client
Expand Down
Binary file modified docs/COMP90015 Projet2 2020S1 Report Xulin Yang 904904.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions src/CreateWhiteBoard/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: CreateWhiteBoard

3 changes: 3 additions & 0 deletions src/JoinWhiteBoard/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: JoinWhiteBoard

File renamed without changes.
Binary file not shown.
Binary file added submit/CreateWhiteBoard.jar
Binary file not shown.
Binary file added submit/JoinWhiteBoard.jar
Binary file not shown.
Binary file added submit/Server.jar
Binary file not shown.
Binary file added submit/Xulin Yang 904904.zip
Binary file not shown.

0 comments on commit bcc5189

Please sign in to comment.