- Amber Higgins, 13327954
- MAI Computer Engineering 2017/2018
- For CS7NS1 Scalable Computing module
- Last tested: 2017-11-23 13:22:19.806. Score: 102.
This project requires JRE 1.7.0_151 and JUnit v4.12. Additional external dependencies as below.
Included in the /libs dir
- Joda Time 2.9.9
Included in the /testlibs dir
- Mockito v1.9.5
- Clone this repository using git clone https://www.github.com/amhiggin/ChatroomServer .
- Run the compile.sh script:
- Assign execute permissions using 'chmod 755 compile.sh'. (don't forget sudo if necessary).
- Run using './compile.sh'.
- Run the start.sh script:
- As before, assign execute permissions using 'chmod 755 start.sh'.
- Run the script, specifying the port number you want the server to be accessible at. This looks something like './start.sh <port_number>'.
- You should see a message similar to the following: 01/11/2017 15:31:52>> Server started on port 1234...
- In the start.sh script, comment out the (1) line and uncomment the (2) line to make remote debugging available to an IDE. The default port is set to be 23456, and the server will suspend startup until a debugger attaches.
- Important: Do not have both (1) and (2) uncommented at the same time.
- The architecture has changed substantially since the initial commit: including the addition and then removal of a threadpool execution service.