<commit_before>```
Group:       Tsunami Alerts (14)
Date:        8/6/2016
Class:       CS361 Summer 2016
Description: Setup Instructions for Project B server
```

=================================================
Tsu-Shield Server
=================================================
This program provides a REST API that can be used to determine
whether there is an active tsunami alert within 10 miles of
a specified geolocation.

**INSTALLATION REQUIREMENTS:**

1. Super user/administrator permissions
2. Python 2.7

**ENVIRONMENT SETUP:**

1. Navigate to the `server` directory.
2. Type `sudo pip install -r requirements.txt` to install all dependencies.

**SERVER USAGE INSTRUCTIONS:**

1. Start the server with the following syntax:
```
   ./TsuShield.py [server_ip_addr] [server_port_num] [-t]
```
2. To shut down the server, press Ctrl+C.
   This disconnects any connected clients and aborts all transfers.

*  Specify the public IP address of the server and the port number
   to listen on. If you do not specify these values, the server will
   only be accessible at http://127.0.0.1:8080.
*  The `-t` argument tells the server to read test data instead of the
   actual alert feed from the NOAA website. The test data has a tsunami
   alert in effect for the following coordinates:
   - Latitude:  54.266701
   - Longitude: -133.066696
*  An instance of the server is already running in test mode at
   http://vps54981.vps.ovh.ca:8080.
   You can use this instance if you do not have the permissions required
   to setup the Python environment and run a web server.

**SERVER UNIT TESTS:**

1. Navigate to the `server` directory.
2. Run the following command:
```
   nosetests -v
```<commit_msg>It's better without them.<commit_after>```
Group:       Tsunami Alerts (14)
Date:        8/6/2016
Class:       CS361 Summer 2016
Description: Setup Instructions for Project B server
```

=================================================
Tsu-Shield Server
=================================================
This program provides a REST API that can be used to determine
whether there is an active tsunami alert within 10 miles of
a specified geolocation.

**INSTALLATION REQUIREMENTS:**

1. Super user/administrator permissions
2. Python 2.7

**ENVIRONMENT SETUP:**

1. Navigate to the `server` directory.
2. Type `sudo pip install -r requirements.txt` to install all dependencies.

**SERVER USAGE INSTRUCTIONS:**

1. Start the server with the following syntax:
>  ./TsuShield.py [server_ip_addr] [server_port_num] [-t]

2. To shut down the server, press Ctrl+C.
   This disconnects any connected clients and aborts all transfers.

*  Specify the public IP address of the server and the port number
   to listen on. If you do not specify these values, the server will
   only be accessible at http://127.0.0.1:8080.
*  The `-t` argument tells the server to read test data instead of the
   actual alert feed from the NOAA website. The test data has a tsunami
   alert in effect for the following coordinates:
   - Latitude:  54.266701
   - Longitude: -133.066696
*  An instance of the server is already running in test mode at
   http://vps54981.vps.ovh.ca:8080.
   You can use this instance if you do not have the permissions required
   to setup the Python environment and run a web server.

**SERVER UNIT TESTS:**

1. Navigate to the `server` directory.
2. Run the following command:
>  nosetests -v
{'fraction_non_alphanumeric': 0.12753452835733176, 'fraction_numerical': 0.03702615339406406, 'mean_word_length': 3.835227272727273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1577467', 'n_tokens_mistral': 1051, 'n_tokens_neox': 939, 'n_words': 453}